linux-stable/block
Christoph Hellwig 0073c41d4b block: add a queue_limits_commit_update_frozen helper
[ Upstream commit aa427d7b73 ]

Add a helper that freezes the queue, updates the queue limits and
unfreezes the queue and convert all open coded versions of that to the
new helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20250110054726.1499538-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Stable-dep-of: 708e2371f7 ("scsi: sr: Reinstate rotational media flag")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-09-09 18:58:24 +02:00
..
partitions block: fix conversion of GPT partition name to 7-bit 2025-03-13 13:01:58 +01:00
badblocks.c badblocks: Fix a nonsense WARN_ON() which checks whether a u64 variable < 0 2025-05-29 11:02:24 +02:00
bdev.c block: fix race between set_blocksize and read paths 2025-05-29 11:02:01 +02:00
bfq-cgroup.c
bfq-iosched.c lib/sbitmap: convert shallow_depth from one word to the whole sbitmap 2025-08-20 18:30:49 +02:00
bfq-iosched.h lib/sbitmap: convert shallow_depth from one word to the whole sbitmap 2025-08-20 18:30:49 +02:00
bfq-wf2q.c
bio-integrity.c block: integrity: Do not call set_page_dirty_lock() 2025-04-25 10:47:50 +02:00
bio.c block: fix adding folio to bio 2025-06-10 07:12:59 -04:00
blk-cgroup-fc-appid.c
blk-cgroup-rwstat.c
blk-cgroup-rwstat.h
blk-cgroup.c blk-cgroup: improve policy registration error handling 2025-05-29 11:02:13 +02:00
blk-cgroup.h
blk-core.c block: add a rq_list type 2025-04-25 10:48:06 +02:00
blk-crypto-fallback.c
blk-crypto-internal.h
blk-crypto-profile.c
blk-crypto-sysfs.c
blk-crypto.c
blk-flush.c
blk-ia-ranges.c
blk-integrity.c block: add a queue_limits_commit_update_frozen helper 2025-09-09 18:58:24 +02:00
blk-ioc.c
blk-iocost.c
blk-iolatency.c
blk-ioprio.c
blk-ioprio.h
blk-lib.c
blk-map.c
blk-merge.c block: use plug request list tail for one-shot backmerge attempt 2025-06-27 11:11:19 +01:00
blk-mq-cpumap.c blk-mq: create correct map for fallback case 2025-05-09 09:50:48 +02:00
blk-mq-debugfs.c
blk-mq-debugfs.h
blk-mq-pci.c
blk-mq-sched.c
blk-mq-sched.h
blk-mq-sysfs.c
blk-mq-tag.c
blk-mq-virtio.c
blk-mq.c block: Introduce bio_needs_zone_write_plugging() 2025-08-20 18:30:51 +02:00
blk-mq.h block: add a rq_list type 2025-04-25 10:48:06 +02:00
blk-pm.c
blk-pm.h
blk-rq-qos.c
blk-rq-qos.h
blk-settings.c block: add a queue_limits_commit_update_frozen helper 2025-09-09 18:58:24 +02:00
blk-stat.c
blk-stat.h
blk-sysfs.c block: fix kobject leak in blk_unregister_queue 2025-07-24 08:56:30 +02:00
blk-throttle.c blk-throttle: don't take carryover for prioritized processing of metadata 2025-05-29 11:02:29 +02:00
blk-throttle.h
blk-timeout.c
blk-wbt.c
blk-wbt.h
blk-zoned.c block: add a queue_limits_commit_update_frozen helper 2025-09-09 18:58:24 +02:00
blk.h block: only update request sector if needed 2025-05-29 11:03:12 +02:00
bounce.c block: mark bounce buffering as incompatible with integrity 2025-05-29 11:02:32 +02:00
bsg-lib.c
bsg.c
disk-events.c
early-lookup.c
elevator.c block: use q->elevator with ->elevator_lock held in elv_iosched_show() 2025-06-19 15:32:32 +02:00
elevator.h
fops.c block: fix race between set_blocksize and read paths 2025-05-29 11:02:01 +02:00
genhd.c
holder.c
ioctl.c block: fix race between set_blocksize and read paths 2025-05-29 11:02:01 +02:00
ioprio.c
Kconfig
Kconfig.iosched
kyber-iosched.c lib/sbitmap: convert shallow_depth from one word to the whole sbitmap 2025-08-20 18:30:49 +02:00
Makefile
mq-deadline.c lib/sbitmap: convert shallow_depth from one word to the whole sbitmap 2025-08-20 18:30:49 +02:00
opal_proto.h
sed-opal.c
t10-pi.c