Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe
  • Repository
Switch branch/tag
  • ipipe
  • block
  • blk-cgroup.c
Find file BlameHistoryPermalink
  • Tejun Heo's avatar
    blkcg: implement blkcg_policy->on/offline_pd_fn() and blkcg_gq->online · f427d909
    Tejun Heo authored Jan 09, 2013
    
    
    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: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarVivek Goyal <vgoyal@redhat.com>
    f427d909

Imprint & Privacy Policy