summaryrefslogtreecommitdiffstats
path: root/fs/openpromfs
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-01-09 08:05:12 -0800
committerTejun Heo <tj@kernel.org>2013-01-09 08:05:12 -0800
commitf427d909648aa592c9588d0f66b5b457752a0cd1 (patch)
treed6f91a6d46a1302f0cca6137851f0806364b7965 /fs/openpromfs
parentb276a876a014c5fa58a16f247c0933f6c42112e3 (diff)
downloadop-kernel-dev-f427d909648aa592c9588d0f66b5b457752a0cd1.zip
op-kernel-dev-f427d909648aa592c9588d0f66b5b457752a0cd1.tar.gz
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 'fs/openpromfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud