]> www.infradead.org Git - users/hch/block.git/commit
block: move the nowait flag to queue_limits
authorChristoph Hellwig <hch@lst.de>
Sat, 8 Jun 2024 06:52:41 +0000 (08:52 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 17 Jun 2024 06:03:18 +0000 (08:03 +0200)
commit8cf3a4e7e3eab07546377a60fcf88f33a11346ee
tree814d35705b28f41ca56db8f1c0c200d0a3cf1338
parent2eb92571c101c84ede68cf17f5a6319fa26fe492
block: move the nowait flag to queue_limits

Move the nowait flag into the queue_limits feature field so that it can
be set atomically with the queue frozen.

Stacking drivers are simplified in that they now can simply set the
flag, and blk_stack_limits will clear it when the features is not
supported by any of the underlying devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk-settings.c
drivers/block/brd.c
drivers/md/dm-table.c
drivers/md/md.c
drivers/nvme/host/multipath.c
include/linux/blkdev.h