diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-06 11:35:10 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-06 17:37:41 +0300 |
commit | e7602bb4f3a1234df8b75728ac3260bcb8242612 (patch) | |
tree | c392950fcaa885bc35c2e6823f1a7286c3f14096 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 68ed45122249083bf45593ed635474282583352c (diff) | |
download | linux-e7602bb4f3a1234df8b75728ac3260bcb8242612.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions