blk-mq: add REQ_SYNC early
authorShaohua Li <shli@kernel.org>
Wed, 19 Feb 2014 12:20:21 +0000 (20:20 +0800)
committerJens Axboe <axboe@fb.com>
Fri, 21 Mar 2014 14:57:58 +0000 (08:57 -0600)
commit27fbf4e87c16bb3e40730890169a643a494b7c64
treead40dba46ae1e5c5844115676ed4b2634c6e12b6
parent55c816e3df86cfebf7c8cdd44892800aaaa8fce0
blk-mq: add REQ_SYNC early

Add REQ_SYNC early, so rq_dispatched[] in blk_mq_rq_ctx_init
is set correctly.

Signed-off-by: Shaohua Li<shli@fusionio.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c