aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/blkdev.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index ed0ffa673568..d0cac8b58de7 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -63,11 +63,17 @@ struct cfq_io_context {
63 struct io_context *ioc; 63 struct io_context *ioc;
64 64
65 unsigned long last_end_request; 65 unsigned long last_end_request;
66 unsigned long last_queue; 66 sector_t last_request_pos;
67 unsigned long last_queue;
68
67 unsigned long ttime_total; 69 unsigned long ttime_total;
68 unsigned long ttime_samples; 70 unsigned long ttime_samples;
69 unsigned long ttime_mean; 71 unsigned long ttime_mean;
70 72
73 unsigned int seek_samples;
74 u64 seek_total;
75 sector_t seek_mean;
76
71 struct list_head queue_list; 77 struct list_head queue_list;
72 78
73 void (*dtor)(struct io_context *); /* destructor */ 79 void (*dtor)(struct io_context *); /* destructor */