Skip to content

plugging cleanup v3

Pankaj Raghav linux-block 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 9 repliesApplied
  2. v22 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Enhance the commit log for the 2nd patch (Christoph)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2block: adapt blk_mq_plug() to not plug for writes that require a zone lockblock/blk-mq.h block/blk-zoned.c include/linux/blkdev.h+14 -72 replies
2/2block: use blk_mq_plug() wrapper consistently in the block layerblock/blk-core.c block/blk-mq.c+5 -36 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigDamien Le MoalJohannes Thumshirn
1/2R-b R-b R-b
2/2R-b R-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 v3 thread

Cover letter [PATCH v3 0/2] plugging cleanup v3

Hi Jens,

1st patch modifies blk_mq_plug() function to disable plugging for
write and write zeroes in zoned block devices.

2nd patch uses the blk_mq_plug function in the block layer consistently.

The patches are based on next-20220923.

Changes since v2:
- Enhance the commit log for the 2nd patch (Christoph)

Changes since v1:
- Explicltly check only for write and write zeroes as they require zone locking in blk_mq_plug
- create a new helper to check for ops that require zone locking for zoned devices and also reuse it in blk_req_needs_zone_write_lock

Pankaj Raghav (2):
block: adapt blk_mq_plug() to not plug for writes that require a zone
lock
block: use blk_mq_plug() wrapper consistently in the block layer

 block/blk-core.c       | 2 +-
 block/blk-mq.c         | 6 ++++--
 block/blk-mq.h         | 3 ++-
 block/blk-zoned.c      | 9 +++------
 include/linux/blkdev.h | 9 +++++++++
 5 files changed, 19 insertions(+), 10 deletions(-)
Signature · 1 line
2.25.1