diff options
author | Divyesh Shah <dpshah@google.com> | 2010-04-01 18:01:04 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-04-02 02:44:36 -0400 |
commit | 9a0785b0da561e1e9c6617df85e93ae107a42f18 (patch) | |
tree | 56cb6b65f175a13c85976192216a6b8101b0d0f3 /block/blk-cgroup.c | |
parent | ed6b6dc7c142bfb5840d201a9b4a465c9e56ce33 (diff) |
blkio: Remove per-cfqq nr_sectors as we'll be passing
that info at request dispatch with other stats now. This patch removes the
existing support for accounting sectors for a blkio_group. This will be added
back differently in the next two patches.
Signed-off-by: Divyesh Shah<dpshah@google.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r-- | block/blk-cgroup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index 4b686ad08eaa..5be39813fc9b 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c | |||
@@ -56,10 +56,9 @@ struct blkio_cgroup *cgroup_to_blkio_cgroup(struct cgroup *cgroup) | |||
56 | EXPORT_SYMBOL_GPL(cgroup_to_blkio_cgroup); | 56 | EXPORT_SYMBOL_GPL(cgroup_to_blkio_cgroup); |
57 | 57 | ||
58 | void blkiocg_update_blkio_group_stats(struct blkio_group *blkg, | 58 | void blkiocg_update_blkio_group_stats(struct blkio_group *blkg, |
59 | unsigned long time, unsigned long sectors) | 59 | unsigned long time) |
60 | { | 60 | { |
61 | blkg->time += time; | 61 | blkg->time += time; |
62 | blkg->sectors += sectors; | ||
63 | } | 62 | } |
64 | EXPORT_SYMBOL_GPL(blkiocg_update_blkio_group_stats); | 63 | EXPORT_SYMBOL_GPL(blkiocg_update_blkio_group_stats); |
65 | 64 | ||