Skip to content

Hold the zoned write plug lock less long

Bart Van Assche linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3blk-zoned: Move locking into disk_zone_wplug_set_wp_offset()block/blk-zoned.c+16 -221 reply
2/3blk-zoned: Move locking into disk_zone_wplug_abort()block/blk-zoned.c+15 -51 reply
3/3blk-zoned: Do not lock zwplug->lock recursivelyblock/blk-zoned.c+8 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Hold the zoned write plug lock less long

Hi Jens,

The zone write plug lock is taken in the submission and in the completion path. Hence, it is important that this lock is held no longer than needed. This patch series reduces how long the zone write plug lock is held. Please consider this patch series for the next merge window.

Thanks,

Bart.

Bart Van Assche (3):
blk-zoned: Move locking into disk_zone_wplug_set_wp_offset()
blk-zoned: Move locking into disk_zone_wplug_abort()
blk-zoned: Do not lock zwplug->lock recursively

 block/blk-zoned.c | 56 +++++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 26 deletions(-)