summaryrefslogtreecommitdiff
path: root/block/blk.h
diff options
context:
space:
mode:
authorJianchao Wang <jianchao.w.wang@oracle.com>2018-10-12 18:07:25 +0800
committerJens Axboe <axboe@kernel.dk>2018-10-13 15:41:59 -0600
commit477e19dedc9d3e1f4443a1d4ae00572a988120ea (patch)
tree9fe6efa021b26fbf3a4866ca82aa4b63d7029d5d /block/blk.h
parent2d29c9f89fcd9bf408fcdaaf515c90a169f22ecd (diff)
blk-mq: adjust debugfs and sysfs register when updating nr_hw_queues
blk-mq debugfs and sysfs entries need to be removed before updating queue map, otherwise, we get get wrong result there. This patch fixes it and remove the redundant debugfs and sysfs register/unregister operations during __blk_mq_update_nr_hw_queues. Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions