diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-06 09:35:08 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-06 07:37:41 -0700 |
commit | 6783811569aef24b949992bd5c4e6eaac02a0c30 (patch) | |
tree | b92634c5d2ab154edfabae88faecda353f37e253 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b7175e24d6acf79d9f3af9ce9d3d50de1fa748ec (diff) |
block: better split mq vs non-mq code in add_disk_fwnode
Add a big conditional for blk-mq vs not mq at the beginning of
add_disk_fwnode so that elevator_init_mq is only called for blk-mq disks,
and add checks that the right methods or set or not set based on the
queue type.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250106083531.799976-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions