Skip to content

block: fix deadlock caused by atomic limits update

Ming Lei linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: avoid to hold q->limits_lock across APIs for atomic update queue limitsblock/blk-settings.c include/linux/blkdev.h+7 -320 replies
2/2block: remove queue_limits_cancel_update()drivers/md/md.c drivers/md/raid0.c drivers/md/raid1.c +3 more+3 -230 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] block: fix deadlock caused by atomic limits update

Hello,

The 1st patch fixes deadlock caused by atomic limits update.

The 2nd patch removes queue_limits_cancel_update() which becomes nop now.

Ming Lei (2):
block: avoid to hold q->limits_lock across APIs for atomic update
queue limits
block: remove queue_limits_cancel_update()

 block/blk-settings.c     |  2 +-
 drivers/md/md.c          |  1 -
 drivers/md/raid0.c       |  4 +---
 drivers/md/raid1.c       |  4 +---
 drivers/md/raid10.c      |  4 +---
 drivers/scsi/scsi_scan.c |  1 -
 include/linux/blkdev.h   | 20 ++++++--------------
 7 files changed, 10 insertions(+), 26 deletions(-)
Signature · 1 line
2.47.0