From: Randy Dunlap on
On Fri, 21 May 2010 16:46:59 +0800 Gui Jianfeng wrote:

> Document for active bytes time and rate.
>
> Signed-off-by: Gui Jianfeng <guijianfeng(a)cn.fujitsu.com>
> ---
> Documentation/cgroups/blkio-controller.txt | 21 +++++++++++++++++++++
> 1 files changed, 21 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/cgroups/blkio-controller.txt b/Documentation/cgroups/blkio-controller.txt
> index 48e0b21..2b015e8 100644
> --- a/Documentation/cgroups/blkio-controller.txt
> +++ b/Documentation/cgroups/blkio-controller.txt
> @@ -168,6 +168,27 @@ Details of cgroup files
> cgroup. This is further divided by the type of operation - read or
> write, sync or async.
>
> +- blkio.io_active_bytes
> + - Total number bytes transferred to/from the disk by the group since

Total number of bytes

> + the group got backlogged. First two fields specify the major and
> + minor number of the device, the third field specifies the operation
> + type and the fourth field specifies the number of bytes. It will be
> + reset when group gets dequeued from service tree.
> +
> +- blkio.io_active_time
> + - Total amount of time(in ms) spent since the group got backlogged.

time (in ms)

> + First two fields specify the major and minor number of the device,
> + third field specify how long it spents since the group got

specifies how long it spent

> + backlogged. It will be reset when group gets enqueued onto service
> + tree.
> +
> +- blkio.io_active_rate
> + - The io rate (in bytes/ms) of the group when group is issuing io.

s/io/IO/ in multiple places (or s:io:I/O: if you prefer the '/')

> + First two fields specify the major and minor number of the device,
> + the third field specifies the operation type and the fourth field
> + specifies the io rate. If there isn't any io on the group, io rate
> + won't be computed.


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/