Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH 0/4] improve zbd initialization
@ 2021-06-04 12:18 Niklas Cassel
  2021-06-04 12:18 ` [PATCH 1/4] zbd: disallow pipes for zonemode=zbd Niklas Cassel
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Niklas Cassel @ 2021-06-04 12:18 UTC (permalink / raw)
  To: axboe@kernel.dk; +Cc: fio@vger.kernel.org, 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 uninitialized.. 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

Niklas Cassel (4):
  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

 engines/libzbc.c            |  3 +--
 engines/skeleton_external.c |  1 -
 oslib/linux-blkzoned.c      |  3 +--
 zbd.c                       | 37 +++++++++++++++++++++++++------------
 zbd_types.h                 |  7 +++----
 5 files changed, 30 insertions(+), 21 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-06-07  9:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-04 12:18 [PATCH 0/4] improve zbd initialization Niklas Cassel
2021-06-04 12:18 ` [PATCH 1/4] zbd: disallow pipes for zonemode=zbd Niklas Cassel
2021-06-05  0:33   ` Damien Le Moal
2021-06-04 12:18 ` [PATCH 3/4] zbd: remove zbd_zoned_model ZBD_IGNORE Niklas Cassel
2021-06-05  0:42   ` Damien Le Moal
2021-06-05  0:47     ` Damien Le Moal
2021-06-05  0:48   ` Damien Le Moal
2021-06-07  9:08     ` Niklas Cassel
2021-06-07  9:18       ` Damien Le Moal
2021-06-04 12:18 ` [PATCH 2/4] zbd: allow zonemode=zbd with regular files by emulating zones Niklas Cassel
2021-06-05  0:40   ` Damien Le Moal
2021-06-04 12:18 ` [PATCH 4/4] zbd: change some f->zbd_info conditionals to asserts Niklas Cassel
2021-06-05  0:50   ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox