]> www.infradead.org Git - users/hch/block.git/commit
block: move the nowait flag to queue_limits
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Jun 2024 06:04:46 +0000 (08:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 19 Jun 2024 13:58:28 +0000 (07:58 -0600)
commitf76af42f8bf13d2620084f305f01691de9238fc7
tree814d35705b28f41ca56db8f1c0c200d0a3cf1338
parentaadd5c59c910427c0464c217d5ed588ff14e2502
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>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20240617060532.127975-20-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
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