blkio: Add io_queued and avg_queue_size stats
authorDivyesh Shah <dpshah@google.com>
Fri, 9 Apr 2010 04:15:10 +0000 (21:15 -0700)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 9 Apr 2010 06:36:08 +0000 (08:36 +0200)
These stats are useful for getting a feel for the queue depth of the cgroup,
i.e., how filled up its queues are at a given instant and over the existence of
the cgroup. This ability is useful when debugging problems in the wild as it
helps understand the application's IO pattern w/o having to read through the
userspace code (coz its tedious or just not available) or w/o the ability
to run blktrace (since you may not have root access and/or not want to disturb
performance).

Signed-off-by: Divyesh Shah<dpshah@google.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found