diff options
author | Tejun Heo <tj@kernel.org> | 2019-07-24 10:37:55 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-01 14:56:44 -0600 |
commit | 4308a434e5e08c78676aa66bc626ef78cbef0883 (patch) | |
tree | a6617ca3addbb90cc2be00a78a8d22e3da725d48 /.cocciconfig | |
parent | d866dbf6178713e37d2fec2870af00b345684e1a (diff) | |
download | lwn-4308a434e5e08c78676aa66bc626ef78cbef0883.tar.gz lwn-4308a434e5e08c78676aa66bc626ef78cbef0883.zip |
blkcg: don't offline parent blkcg first
blkcg->cgwb_refcnt is used to delay blkcg offlining so that blkgs
don't get offlined while there are active cgwbs on them. However, it
ends up making offlining unordered sometimes causing parents to be
offlined before children.
Let's fix this by making child blkcgs pin the parents' online states.
Note that pin/unpin names are chosen over get/put intentionally
because css uses get/put online for something different.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions