Skip to content

Commit

Permalink
blkcg: make blkg->pd an array and move configuration and stats into it
Browse files Browse the repository at this point in the history
To prepare for unifying blkgs for different policies, make blkg->pd an
array with BLKIO_NR_POLICIES elements and move blkg->conf, ->stats,
and ->stats_cpu into blkg_policy_data.

This patch doesn't introduce any functional difference.

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
htejun authored and axboe committed Mar 6, 2012
1 parent 1adaf3d commit 549d3aa
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 66 deletions.
Loading

0 comments on commit 549d3aa

Please sign in to comment.