diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-01 14:38:42 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-04-01 14:38:42 -0700 |
commit | 2aa4a1523b40a065bc3a31e20097ea7a618ec3de (patch) | |
tree | b4fb9e7e593d539f70c61c2d7b39b0028edf08eb /block/blk-cgroup.c | |
parent | aaec55a002a29bf940588dc03253099a4cd543bf (diff) | |
download | op-kernel-dev-2aa4a1523b40a065bc3a31e20097ea7a618ec3de.zip op-kernel-dev-2aa4a1523b40a065bc3a31e20097ea7a618ec3de.tar.gz |
blkcg: BLKIO_STAT_CPU_SECTORS doesn't have subcounters
BLKIO_STAT_CPU_SECTORS doesn't need read/write/sync/async subcounters
and is counted by blkio_group_stats_cpu->sectors; however, it still
holds a member in blkio_group_stats_cpu->stat_arr_cpu.
Rearrange stat_type_cpu and define BLKIO_STAT_CPU_ARR_NR and use it
for stat_arr_cpu[] size so that only SERVICE_BYTES and SERVICED have
subcounters.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions