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, 7 Mar 2014 15:15:28 +0000 (08:15 -0700)
commit739c3eea711a255df5ed1246face0a4dce5e589f
tree5b84ca214d7e8b418ae4e9f221a9ac9f169c7ebc
parent2a26ebef841bac72a4c5776e920496e07b405628
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