• D
    blkio: Add io_queued and avg_queue_size stats · cdc1184c
    Divyesh Shah 提交于
    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: NJens Axboe <jens.axboe@oracle.com>
    cdc1184c
blk-cgroup.c 18.0 KB