@@ -108,15 +108,15 @@ typedef __u32 __bitwise req_flags_t;
108
108
#define RQF_QUIET ((__force req_flags_t)(1 << 11))
109
109
/* elevator private data attached */
110
110
#define RQF_ELVPRIV ((__force req_flags_t)(1 << 12))
111
- /* account I/O stat */
111
+ /* account into disk and partition IO statistics */
112
112
#define RQF_IO_STAT ((__force req_flags_t)(1 << 13))
113
113
/* request came from our alloc pool */
114
114
#define RQF_ALLOCED ((__force req_flags_t)(1 << 14))
115
115
/* runtime pm request */
116
116
#define RQF_PM ((__force req_flags_t)(1 << 15))
117
117
/* on IO scheduler merge hash */
118
118
#define RQF_HASHED ((__force req_flags_t)(1 << 16))
119
- /* IO stats tracking on */
119
+ /* track IO completion time */
120
120
#define RQF_STATS ((__force req_flags_t)(1 << 17))
121
121
/* Look at ->special_vec for the actual data payload instead of the
122
122
bio chain. */
@@ -685,7 +685,7 @@ struct request_queue {
685
685
#define QUEUE_FLAG_FAIL_IO 7 /* fake timeout */
686
686
#define QUEUE_FLAG_NONROT 9 /* non-rotational device (SSD) */
687
687
#define QUEUE_FLAG_VIRT QUEUE_FLAG_NONROT /* paravirt device */
688
- #define QUEUE_FLAG_IO_STAT 10 /* do IO stats */
688
+ #define QUEUE_FLAG_IO_STAT 10 /* do disk/partitions IO accounting */
689
689
#define QUEUE_FLAG_DISCARD 11 /* supports DISCARD */
690
690
#define QUEUE_FLAG_NOXMERGES 12 /* No extended merges */
691
691
#define QUEUE_FLAG_ADD_RANDOM 13 /* Contributes to random pool */
@@ -699,7 +699,7 @@ struct request_queue {
699
699
#define QUEUE_FLAG_FUA 21 /* device supports FUA writes */
700
700
#define QUEUE_FLAG_FLUSH_NQ 22 /* flush not queueuable */
701
701
#define QUEUE_FLAG_DAX 23 /* device supports DAX */
702
- #define QUEUE_FLAG_STATS 24 /* track rq completion times */
702
+ #define QUEUE_FLAG_STATS 24 /* track IO start and completion times */
703
703
#define QUEUE_FLAG_POLL_STATS 25 /* collecting stats for hybrid polling */
704
704
#define QUEUE_FLAG_REGISTERED 26 /* queue has been registered to a disk */
705
705
#define QUEUE_FLAG_SCSI_PASSTHROUGH 27 /* queue supports SCSI commands */
0 commit comments