]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
block: REQ_NOMERGE is common to the bio and request
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Oct 2016 13:12:10 +0000 (15:12 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 28 Oct 2016 14:45:17 +0000 (08:45 -0600)
So move it into the common setion of the request flags.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/blk_types.h

index dd50dce89a8091865698926daeff6f3fdb80adab..b54142534793b19fb68c18b942f5788061f48c2a 100644 (file)
@@ -158,6 +158,7 @@ enum rq_flag_bits {
        __REQ_META,             /* metadata io request */
        __REQ_PRIO,             /* boost priority in cfq */
 
+       __REQ_NOMERGE,          /* don't touch this for merging */
        __REQ_NOIDLE,           /* don't anticipate more IO after this one */
        __REQ_INTEGRITY,        /* I/O includes block integrity payload */
        __REQ_FUA,              /* forced unit access */
@@ -171,7 +172,6 @@ enum rq_flag_bits {
        /* request only flags */
        __REQ_SORTED,           /* elevator knows about this request */
        __REQ_SOFTBARRIER,      /* may not be passed by ioscheduler */
-       __REQ_NOMERGE,          /* don't touch this for merging */
        __REQ_STARTED,          /* drive already may have started this one */
        __REQ_DONTPREP,         /* don't call prep for this one */
        __REQ_QUEUED,           /* uses queueing */