summaryrefslogtreecommitdiff
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
authorDivyesh Shah <dpshah@google.com>2010-04-01 15:01:04 -0700
committerJens Axboe <jens.axboe@oracle.com>2010-04-02 08:44:36 +0200
commit9a0785b0da561e1e9c6617df85e93ae107a42f18 (patch)
tree56cb6b65f175a13c85976192216a6b8101b0d0f3 /block/blk-cgroup.c
parented6b6dc7c142bfb5840d201a9b4a465c9e56ce33 (diff)
downloadlinux-stable-9a0785b0da561e1e9c6617df85e93ae107a42f18.tar.gz
linux-stable-9a0785b0da561e1e9c6617df85e93ae107a42f18.tar.bz2
linux-stable-9a0785b0da561e1e9c6617df85e93ae107a42f18.zip
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.c3
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)
EXPORT_SYMBOL_GPL(cgroup_to_blkio_cgroup);
void blkiocg_update_blkio_group_stats(struct blkio_group *blkg,
- unsigned long time, unsigned long sectors)
+ unsigned long time)
{
blkg->time += time;
- blkg->sectors += sectors;
}
EXPORT_SYMBOL_GPL(blkiocg_update_blkio_group_stats);