summaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
authoryangerkun <yangerkun@huawei.com>2020-09-19 05:54:25 +0200
committerJens Axboe <axboe@kernel.dk>2020-09-29 16:11:00 +0200
commit76cffccd606acffde1b91e8b029b39b5fd1a3117 (patch)
tree67bbb2d9c523f52e45957443fc03e87a05a1927d /fs/super.c
parentblk-mq: add cond_resched() in __blk_mq_alloc_rq_maps() (diff)
downloadlinux-76cffccd606acffde1b91e8b029b39b5fd1a3117.tar.xz
linux-76cffccd606acffde1b91e8b029b39b5fd1a3117.zip
block-mq: fix comments in blk_mq_queue_tag_busy_iter
'f5bbbbe4d635 ("blk-mq: sync the update nr_hw_queues with blk_mq_queue_tag_busy_iter")' introduce a bug what we may sleep between rcu lock. Then '530ca2c9bd69 ("blk-mq: Allow blocking queue tag iter callbacks")' fix it by get request_queue's ref. And 'a9a808084d6a ("block: Remove the synchronize_rcu() call from __blk_mq_update_nr_hw_queues()")' remove the synchronize_rcu in __blk_mq_update_nr_hw_queues. We need update the confused comments in blk_mq_queue_tag_busy_iter. Signed-off-by: yangerkun <yangerkun@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions