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
..
2025-01-04 15:27:35 -07:00
2024-11-13 12:04:58 -07:00
2024-07-15 14:20:22 -07:00
2025-01-04 15:27:35 -07:00
2025-01-06 07:37:11 -07:00
2025-01-06 07:37:41 -07:00
2025-01-04 15:27:35 -07:00
2025-01-06 07:37:41 -07:00
2025-01-04 15:27:35 -07:00
2025-01-06 07:37:41 -07:00
2023-06-30 11:57:07 -07:00
2025-01-06 07:37:41 -07:00