All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Support zone capacity
@ 2020-07-15  6:41 Shin'ichiro Kawasaki
  2020-07-15  6:41 ` [PATCH v2 1/6] zbd: Support zone capacity smaller than zone size Shin'ichiro Kawasaki
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Shin'ichiro Kawasaki @ 2020-07-15  6:41 UTC (permalink / raw)
  To: fio, Jens Axboe
  Cc: Damien Le Moal, Hans Holmberg, Aravind Ramesh, Shinichiro Kawasaki

Hi Jens, let me repost this series. This series can be applied on top of
another series 'zbd: Fix initial zone write pointer of regular block devices'.
Please consider these two series for the upstream. Thanks in advance.


Kernel 5.9 zone descriptor interface adds the new zone capacity field defining
the range of sectors usable within a zone. This patch series adds support for
this new field.

The 1st patch adds zone capacity support to zonemode=zbd. Get zone capacity
values of each zone and adjust io_u to meet the zone capacity limit. The 2nd
patch adds a new option zonecapacity which allows to test zone capacity
handling by fio using regular block devices. Other four patches extend t/zbd
test scripts for zone capacity.

Of note is that the zone capacity is always equal to the zone size for SCSI
drives. For NVMe ZNS and nullblk zoned drives, the zone capacity can be
smaller than the zone size.

Changes from v1:
* Reworded subject of the first patch

Hans Holmberg (3):
  options: Add zonecapacity option for zonemode=zbd
  t/zbd: Support testing zone capacity smaller than zone size
  t/zbd: Add test case to check zonecapacity option

Shin'ichiro Kawasaki (3):
  zbd: Support zone capacity smaller than zone size
  t/zbd: Mandate blkzone capacity report for devices with zone capacity
  t/zbd: Support testing zone capacity smaller than zone size with
    null_blk

 HOWTO                               |  18 +++-
 cconv.c                             |   2 +
 configure                           |  19 +++++
 engines/libzbc.c                    |   1 +
 fio.1                               |  13 ++-
 options.c                           |  11 +++
 oslib/linux-blkzoned.c              |  11 +++
 t/zbd/functions                     |  82 +++++++++++++++++++
 t/zbd/run-tests-against-zoned-nullb |  30 ++++++-
 t/zbd/test-zbd-support              | 123 ++++++++++++++++++++--------
 thread_options.h                    |   2 +
 zbd.c                               |  85 +++++++++++++++----
 zbd.h                               |   2 +
 zbd_types.h                         |   1 +
 14 files changed, 342 insertions(+), 58 deletions(-)

-- 
2.26.2



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-07-17  7:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15  6:41 [PATCH v2 0/6] Support zone capacity Shin'ichiro Kawasaki
2020-07-15  6:41 ` [PATCH v2 1/6] zbd: Support zone capacity smaller than zone size Shin'ichiro Kawasaki
2020-07-17  1:44   ` Damien Le Moal
2020-07-15  6:41 ` [PATCH v2 2/6] options: Add zonecapacity option for zonemode=zbd Shin'ichiro Kawasaki
2020-07-17  1:48   ` Damien Le Moal
2020-07-15  6:41 ` [PATCH v2 3/6] t/zbd: Mandate blkzone capacity report for devices with zone capacity Shin'ichiro Kawasaki
2020-07-17  1:58   ` Damien Le Moal
2020-07-15  6:41 ` [PATCH v2 4/6] t/zbd: Support testing zone capacity smaller than zone size Shin'ichiro Kawasaki
2020-07-17  2:01   ` Damien Le Moal
2020-07-17  6:59     ` Shinichiro Kawasaki
2020-07-17  7:01       ` Damien Le Moal
2020-07-15  6:41 ` [PATCH v2 5/6] t/zbd: Support testing zone capacity smaller than zone size with null_blk Shin'ichiro Kawasaki
2020-07-17  2:06   ` Damien Le Moal
2020-07-15  6:41 ` [PATCH v2 6/6] t/zbd: Add test case to check zonecapacity option Shin'ichiro Kawasaki
2020-07-17  2:07   ` Damien Le Moal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.