commit | 67aec14ce87fe25bdfff7dbf468556333df11c4e | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Fri May 30 08:25:36 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Fri May 30 08:25:36 2014 -0600 |
tree | 85857d82abc91996bfdf054774f46e5aa519acec | |
parent | 2230237500821aedfcf2bba2a79d9cbca389233c [diff] |
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: Jens Axboe <axboe@fb.com>