summaryrefslogtreecommitdiffstats
path: root/tools/hv
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-01-09 17:05:12 +0100
committerTejun Heo <tj@kernel.org>2013-01-09 17:05:12 +0100
commitf427d909648aa592c9588d0f66b5b457752a0cd1 (patch)
treed6f91a6d46a1302f0cca6137851f0806364b7965 /tools/hv
parentblkcg: add blkg_policy_data->plid (diff)
downloadlinux-f427d909648aa592c9588d0f66b5b457752a0cd1.tar.xz
linux-f427d909648aa592c9588d0f66b5b457752a0cd1.zip
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 'tools/hv')
0 files changed, 0 insertions, 0 deletions