]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/linux/blk_types.h
mm: add get_kernel_page[s] for pinning of kernel addresses for I/O
[linux-beck.git] / include / linux / blk_types.h
index 0edb65dd8eddd35de6b0c383a27d889ec00f2193..7b7ac9ccec7af5900b469166e7bdda9aa578b4d2 100644 (file)
@@ -160,6 +160,7 @@ enum rq_flag_bits {
        __REQ_FLUSH_SEQ,        /* request for flush sequence */
        __REQ_IO_STAT,          /* account I/O stat */
        __REQ_MIXED_MERGE,      /* merge of different types, fail separately */
+       __REQ_KERNEL,           /* direct IO to kernel pages */
        __REQ_NR_BITS,          /* stops here */
 };
 
@@ -201,5 +202,6 @@ enum rq_flag_bits {
 #define REQ_IO_STAT            (1 << __REQ_IO_STAT)
 #define REQ_MIXED_MERGE                (1 << __REQ_MIXED_MERGE)
 #define REQ_SECURE             (1 << __REQ_SECURE)
+#define REQ_KERNEL             (1 << __REQ_KERNEL)
 
 #endif /* __LINUX_BLK_TYPES_H */