]> Git Repo - linux.git/commit
blkcg: remove additional reference to the css
authorDennis Zhou (Facebook) <[email protected]>
Tue, 11 Sep 2018 18:41:34 +0000 (14:41 -0400)
committerJens Axboe <[email protected]>
Sat, 22 Sep 2018 02:29:15 +0000 (20:29 -0600)
commitf0fcb3ec89f37167810e660b0595d9a6155d9807
treedd230c9477e3b316863a589639280965efcbf429
parentc839e7a03f92bafd71fd145b470dcdc7f43f2d4c
blkcg: remove additional reference to the css

The previous patch in this series removed carrying around a pointer to
the css in blkg. However, the blkg association logic still relied on
taking a reference on the css to ensure we wouldn't fail in getting a
reference for the blkg.

Here the implicit dependency on the css is removed. The association
continues to rely on the tryget logic walking up the blkg tree. This
streamlines the three ways that association can happen: normal, swap,
and writeback.

Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Dennis Zhou <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/bio.c
include/linux/blk-cgroup.h
include/linux/cgroup.h
kernel/cgroup/cgroup.c
This page took 0.057341 seconds and 4 git commands to generate.