Skip to content

Some null_blk cleanups

Damien Le Moal linux-block 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3null_blk: Have all null_handle_xxx() return a blk_status_tdrivers/block/null_blk/main.c+8 -103 replies
2/3null_blk: Do zone resource management only if necessarydrivers/block/null_blk/zoned.c+165 -1460 replies
3/3null_blk: Simplify null_zone_write()drivers/block/null_blk/zoned.c+16 -201 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchNitesh ShettyChaitanya KulkarniJohannes Thumshirn
1/3R-b R-b R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] Some null_blk cleanups

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(-)
Signature · 1 line
2.44.0