Skip to content

Commit

Permalink
blkcg: don't use blkg->plid in stat related functions
Browse files Browse the repository at this point in the history
blkg is scheduled to be unified for all policies and thus there won't
be one-to-one mapping from blkg to policy.  Update stat related
functions to take explicit @pol or @plid arguments and not use
blkg->plid.

This is painful for now but most of specific stat interface functions
will be replaced with a handful of generic helpers.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Tejun Heo authored and Jens Axboe committed Mar 6, 2012
1 parent 549d3aa commit c176826
Show file tree
Hide file tree
Showing 5 changed files with 224 additions and 150 deletions.
Loading

0 comments on commit c176826

Please sign in to comment.