summaryrefslogtreecommitdiff
path: root/init/main.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-01-09 16:05:12 (GMT)
committerTejun Heo <tj@kernel.org>2013-01-09 16:05:12 (GMT)
commitf427d909648aa592c9588d0f66b5b457752a0cd1 (patch)
treed6f91a6d46a1302f0cca6137851f0806364b7965 /init/main.c
parentb276a876a014c5fa58a16f247c0933f6c42112e3 (diff)
downloadlinux-fsl-qoriq-f427d909648aa592c9588d0f66b5b457752a0cd1.tar.xz
blkcg: implement blkcg_policy->on/offline_pd_fn() and blkcg_gq->online
Add two blkcg_policy methods, ->online_pd_fn() and ->offline_pd_fn(), which are invoked as the policy_data gets activated and deactivated while holding both blkcg and q locks. Also, add blkcg_gq->online bool, which is set and cleared as the blkcg_gq gets activated and deactivated. This flag also is toggled while holding both blkcg and q locks. These will be used to implement hierarchical stats. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions