summaryrefslogtreecommitdiffstats
path: root/drivers/block/loop.c
diff options
context:
space:
mode:
authorRicky Benitez2010-04-05 18:22:17 +0200
committerJens Axboe2010-04-05 18:22:17 +0200
commita74b2adae06265b8cfa335d7d40d4a5abd11e977 (patch)
tree13f3204faa4fc4bef6270bfaa269ea45474c39f1 /drivers/block/loop.c
parentbacking-dev: Handle class_create() failure (diff)
downloadkernel-qcow2-linux-a74b2adae06265b8cfa335d7d40d4a5abd11e977.tar.gz
kernel-qcow2-linux-a74b2adae06265b8cfa335d7d40d4a5abd11e977.tar.xz
kernel-qcow2-linux-a74b2adae06265b8cfa335d7d40d4a5abd11e977.zip
block: expose the statistics in blkio.time and blkio.sectors for the root cgroup
Currently, the io statistics for the root cgroup are maintained, but they are not shown because the device information is not available at the point that the root blkio cgroup is created. This patch updates the device information when the statistics are updated so that the statistics become visible. Signed-off-by: Ricky Benitez <rickyb@google.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/loop.c')
0 files changed, 0 insertions, 0 deletions