From: Niklas Cassel <niklas.cassel@xxxxxxx> 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