1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-22 16:06:04 -05:00
linux/drivers/block/null_blk
Christoph Hellwig e7602bb4f3 block: remove BLK_MQ_F_NO_SCHED
The only queues that really can't support a scheduler are those that
do not have a gendisk associated with them, and thus can't be used for
non-passthrough commands.  In addition to those null_blk can optionally
set the flag, which is a bad odd.  Replace the null_blk usage with
BLK_MQ_F_NO_SCHED_BY_DEFAULT to keep the expected semantics and then
remove BLK_MQ_F_NO_SCHED as the non-disk queues never call into
elevator_init_mq or blk_register_queue which adds the sysfs attributes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250106083531.799976-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-01-06 07:37:41 -07:00
..
Kconfig
main.c block: remove BLK_MQ_F_NO_SCHED 2025-01-06 07:37:41 -07:00
Makefile
null_blk.h null_blk: Add rotational feature support 2024-12-23 08:17:22 -07:00
trace.c
trace.h null_blk: Fix two sparse warnings 2024-05-13 17:51:17 -06:00
zoned.c block: pre-calculate max_zone_append_sectors 2024-11-11 09:20:36 -07:00