]> git.baikalelectronics.ru Git - kernel.git/commit
blkcg: delete redundant get/put operations for queue
authorChunguang Xu <brookxu@tencent.com>
Mon, 25 Jan 2021 05:05:28 +0000 (13:05 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Jan 2021 20:14:30 +0000 (13:14 -0700)
commit0717c60b28d9abbcadf6197245410549e60e91b7
tree7eac30c97fadabfa253974bdba1609706a19f36d
parentd22359aec9cf367c083bb9ad075582b1539c98df
blkcg: delete redundant get/put operations for queue

When calling blkcg_schedule_throttle(), for the same queue,
redundant get/put operations can be removed.

Signed-off-by: Chunguang Xu <brookxu@tencent.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c