fio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] improve zbd initialization
@ 2021-06-14 13:49 Niklas Cassel
  2021-06-14 13:49 ` [PATCH v3 1/5] zbd: disallow pipes for zonemode=zbd Niklas Cassel
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Niklas Cassel @ 2021-06-14 13:49 UTC (permalink / raw)
  To: axboe; +Cc: fio, Damien Le Moal, Niklas Cassel

From: Niklas Cassel <niklas.cassel@wdc.com>

Hello there,

This series improves zbd initialization, by making it more robust.
Previously, zbd_create_zone_info() could return success at the same
time as f->zbd_info was never initialized. Remove ZBD_IGNORE to
avoid this combination from being possible.

Also, zonemode=zbd can now be used with regular files by emulating
zones inside the file. (Just like how we already support emulating
zones inside a regular block device).


Kind regards,
Niklas


Changes since v2:
-Picked up Damien's Reviewed-by tags on patch 2 and 3.
-Added patch 5/5 that fixes a test failure related to this series.

Niklas Cassel (5):
  zbd: disallow pipes for zonemode=zbd
  zbd: allow zonemode=zbd with regular files by emulating zones
  zbd: remove zbd_zoned_model ZBD_IGNORE
  zbd: change some f->zbd_info conditionals to asserts
  t/zbd: update test case 42

 engines/libzbc.c            |  6 ++----
 engines/skeleton_external.c |  1 -
 oslib/linux-blkzoned.c      |  6 ++----
 t/zbd/test-zbd-support      |  2 +-
 zbd.c                       | 37 +++++++++++++++++++++++++------------
 zbd_types.h                 |  7 +++----
 6 files changed, 33 insertions(+), 26 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-06-14 14:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 13:49 [PATCH v3 0/5] improve zbd initialization Niklas Cassel
2021-06-14 13:49 ` [PATCH v3 1/5] zbd: disallow pipes for zonemode=zbd Niklas Cassel
2021-06-14 13:49 ` [PATCH v3 2/5] zbd: allow zonemode=zbd with regular files by emulating zones Niklas Cassel
2021-06-14 13:49 ` [PATCH v3 3/5] zbd: remove zbd_zoned_model ZBD_IGNORE Niklas Cassel
2021-06-14 13:49 ` [PATCH v3 5/5] t/zbd: update test case 42 Niklas Cassel
2021-06-14 13:49 ` [PATCH v3 4/5] zbd: change some f->zbd_info conditionals to asserts Niklas Cassel
2021-06-14 14:55 ` [PATCH v3 0/5] improve zbd initialization Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).