OSDN Git Service

blk-cgroup: move rcu locking from blkcg_bio_issue_check to blk_throtl_bio
authorChristoph Hellwig <hch@lst.de>
Sat, 27 Jun 2020 07:31:57 +0000 (09:31 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Jun 2020 15:09:08 +0000 (09:09 -0600)
commit93b8063804b62b55248e16499d853e1b20eff905
tree4bf81072242d6dfcc2e4e70fad9b83cfb52ad7b8
parent7582f30cc9fbcdcd630398bea010e5f6a2e2fcab
blk-cgroup: move rcu locking from blkcg_bio_issue_check to blk_throtl_bio

The only thing in blkcg_bio_issue_check that needs to be under
rcu_read_lock is blk_throtl_bio, so move the locking there.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c
include/linux/blk-cgroup.h