Skip to content
Snippets Groups Projects
Commit 67aec14c authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-mq: make the sysfs mq/ layout reflect current mappings


Currently blk-mq registers all the hardware queues in sysfs,
regardless of whether it uses them (e.g. they have CPU mappings)
or not. The unused hardware queues lack the cpux/ directories,
and the other sysfs entries (like active, pending, etc) are all
zeroes.

Change this so that sysfs correctly reflects the current mappings
of the hardware queues.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 22302375
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment