]> git.baikalelectronics.ru Git - kernel.git/commit
blk-cgroup: hold the queue ref during throttling
authorJosef Bacik <josef@toxicpanda.com>
Tue, 31 Jul 2018 16:39:03 +0000 (12:39 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Aug 2018 15:16:03 +0000 (09:16 -0600)
commitc395793ebe5119c7ed3042e4a06fe49de693e4eb
treeede12ab4add1b486c0f34eb925cfca76853a4faa
parenta9213bee0f78ab22a7f8f180ecb9c46179d49b0a
blk-cgroup: hold the queue ref during throttling

The blkg lifetime is protected by the queue lifetime, so we need to put
the queue _after_ we're done using the blkg.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c