blk-mq: new multi-queue block IO queueing mechanism
[linux-2.6-block.git] / include / linux / blk_types.h
index c26801e1478863d35bd3426554d30ae956f8b4f0..238ef0ed62f85f18085b6446bc681d8c18d674dc 100644 (file)
@@ -178,6 +178,7 @@ enum rq_flag_bits {
        __REQ_MIXED_MERGE,      /* merge of different types, fail separately */
        __REQ_KERNEL,           /* direct IO to kernel pages */
        __REQ_PM,               /* runtime pm request */
+       __REQ_END,              /* last of chain of requests */
        __REQ_NR_BITS,          /* stops here */
 };
 
@@ -229,5 +230,6 @@ enum rq_flag_bits {
 #define REQ_SECURE             (1ULL << __REQ_SECURE)
 #define REQ_KERNEL             (1ULL << __REQ_KERNEL)
 #define REQ_PM                 (1ULL << __REQ_PM)
+#define REQ_END                        (1ULL << __REQ_END)
 
 #endif /* __LINUX_BLK_TYPES_H */