From: Tejun Heo Date: Sun, 1 Apr 2012 21:38:42 +0000 (-0700) Subject: blkcg: BLKIO_STAT_CPU_SECTORS doesn't have subcounters X-Git-Tag: v3.5-rc1~42^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aa4a1523b40a065bc3a31e20097ea7a618ec3de;p=pandora-kernel.git 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 --- Reading git-diff-tree failed