mbox series

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

Message ID 20241216080206.2850773-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series block: fix deadlock caused by atomic limits update | expand

Message

Ming Lei Dec. 16, 2024, 8:02 a.m. UTC
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(-)