3 patches to cleanup null_blk main code and improve zone device support. With the last 2 patches, some performance improvements (up to +1.7%) can be measured for a null zoned device with no zone resource limits. The maximum IOPS measured with zone write plugging with a multi-stream 4K sequential write workload (32 jobs) is: Before patches: - mq-deadline: 596 KIOPS - none: 2406 KIOPS With patches applied: - mq-deadline: 600 KIOPS - none: 2447 KIOPS Overall, there is no functional change. Damien Le Moal (3): null_blk: Have all null_handle_xxx() return a blk_status_t null_blk: Do zone resource management only if necessary null_blk: Simplify null_zone_write() drivers/block/null_blk/main.c | 18 +- drivers/block/null_blk/zoned.c | 343 +++++++++++++++++---------------- 2 files changed, 187 insertions(+), 174 deletions(-) -- 2.44.0