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

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.

This series can be applied on top of another series 'zbd: Fix initial zone
write pointer of regular block devices'.

Changes from v2:
* Reflected various comments on the list

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                    |   5 ++
 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, 346 insertions(+), 58 deletions(-)

-- 
2.26.2



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

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

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17  9:36 [PATCH v3 0/6] Support zone capacity Shin'ichiro Kawasaki
2020-07-17  9:36 ` [PATCH v3 1/6] zbd: Support zone capacity smaller than zone size Shin'ichiro Kawasaki
2020-07-21  9:51   ` Damien Le Moal
2020-07-17  9:36 ` [PATCH v3 2/6] options: Add zonecapacity option for zonemode=zbd Shin'ichiro Kawasaki
2020-07-21  9:52   ` Damien Le Moal
2020-07-17  9:36 ` [PATCH v3 3/6] t/zbd: Mandate blkzone capacity report for devices with zone capacity Shin'ichiro Kawasaki
2020-07-21  9:54   ` Damien Le Moal
2020-07-17  9:36 ` [PATCH v3 4/6] t/zbd: Support testing zone capacity smaller than zone size Shin'ichiro Kawasaki
2020-07-21  9:56   ` Damien Le Moal
2020-07-17  9:36 ` [PATCH v3 5/6] t/zbd: Support testing zone capacity smaller than zone size with null_blk Shin'ichiro Kawasaki
2020-07-21  9:57   ` Damien Le Moal
2020-07-17  9:36 ` [PATCH v3 6/6] t/zbd: Add test case to check zonecapacity option Shin'ichiro Kawasaki
2020-07-21  9:59   ` Damien Le Moal
2020-07-22  5:49     ` Shinichiro Kawasaki
2020-07-22  5:52       ` Damien Le Moal
2020-07-22  6:17         ` Shinichiro Kawasaki
2020-07-21 15:17 ` [PATCH v3 0/6] Support zone capacity Jens Axboe

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.