commit | 549d3aa872cd1aec1ee540fd93afd9611faa0def | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon Mar 05 13:15:16 2012 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Mar 06 21:27:23 2012 +0100 |
tree | 27c3703d3448dc0be9f58b5f01224ae901422a32 | |
parent | 1adaf3dde37a8b9b59ea59c5f58fed7761178383 [diff] |
blkcg: make blkg->pd an array and move configuration and stats into it 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>