RFC: fix queue freeze and limit locking order (alt take)

Christoph Hellwig
2025-01-06T10:06:50Z

Hi all,

this is my version of Damien's "Fix queue freeze and limit locking order".
A lot looks very similar, but it was done independently based on the
previous discussion.

The changelogs are very sparse as the moment as I started it before the
holidays and just finished it enough to send it out as a RFC today.

Diffstat:
block/blk-core.c | 14 +++-
block/blk-integrity.c | 4 -
block/blk-mq.c | 19 ------
block/blk-mq.h | 6 +
block/blk-settings.c | 27 ++++++++
block/blk-sysfs.c | 128 +++++++++++++++++++----------------------
block/blk-zoned.c | 7 --
drivers/block/loop.c | 7 ++
drivers/block/nbd.c | 17 -----
drivers/block/virtio_blk.c | 4 -
drivers/nvme/host/core.c | 9 +-
drivers/scsi/sd.c | 17 +----
drivers/scsi/sr.c | 5 -
drivers/usb/storage/scsiglue.c | 5 -
include/linux/blkdev.h | 5 -
15 files changed, 133 insertions(+), 141 deletions(-)