aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r--block/blk-cgroup.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h
index c774930cc206..63f1ef4450d7 100644
--- a/block/blk-cgroup.h
+++ b/block/blk-cgroup.h
@@ -49,9 +49,9 @@ enum stat_type {
49 /* All the single valued stats go below this */ 49 /* All the single valued stats go below this */
50 BLKIO_STAT_TIME, 50 BLKIO_STAT_TIME,
51 BLKIO_STAT_SECTORS, 51 BLKIO_STAT_SECTORS,
52#ifdef CONFIG_DEBUG_BLK_CGROUP
52 /* Time not charged to this cgroup */ 53 /* Time not charged to this cgroup */
53 BLKIO_STAT_UNACCOUNTED_TIME, 54 BLKIO_STAT_UNACCOUNTED_TIME,
54#ifdef CONFIG_DEBUG_BLK_CGROUP
55 BLKIO_STAT_AVG_QUEUE_SIZE, 55 BLKIO_STAT_AVG_QUEUE_SIZE,
56 BLKIO_STAT_IDLE_TIME, 56 BLKIO_STAT_IDLE_TIME,
57 BLKIO_STAT_EMPTY_TIME, 57 BLKIO_STAT_EMPTY_TIME,
@@ -117,10 +117,11 @@ struct blkio_group_stats {
117 /* total disk time and nr sectors dispatched by this group */ 117 /* total disk time and nr sectors dispatched by this group */
118 uint64_t time; 118 uint64_t time;
119 uint64_t sectors; 119 uint64_t sectors;
120 /* Time not charged to this cgroup */
121 uint64_t unaccounted_time;
122 uint64_t stat_arr[BLKIO_STAT_QUEUED + 1][BLKIO_STAT_TOTAL]; 120 uint64_t stat_arr[BLKIO_STAT_QUEUED + 1][BLKIO_STAT_TOTAL];
123#ifdef CONFIG_DEBUG_BLK_CGROUP 121#ifdef CONFIG_DEBUG_BLK_CGROUP
122 /* Time not charged to this cgroup */
123 uint64_t unaccounted_time;
124
124 /* Sum of number of IOs queued across all samples */ 125 /* Sum of number of IOs queued across all samples */
125 uint64_t avg_queue_size_sum; 126 uint64_t avg_queue_size_sum;
126 /* Count of samples taken for average */ 127 /* Count of samples taken for average */