]> www.infradead.org Git - users/hch/block.git/commit
block: move the poll flag to queue_limits
authorChristoph Hellwig <hch@lst.de>
Sun, 2 Jun 2024 16:15:00 +0000 (18:15 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 17 Jun 2024 06:03:18 +0000 (08:03 +0200)
commit5637c05bc571002844d50541e330a35c4901b681
tree5c3e0b93942aa38e885554f1b06926fdd6992ba0
parent7201976456447b97cd2dcbae1f302bcc49577966
block: move the poll flag to queue_limits

Move the poll 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>
block/blk-core.c
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk-settings.c
block/blk-sysfs.c
drivers/md/dm-table.c
drivers/nvme/host/multipath.c
include/linux/blkdev.h