summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-tag.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-05-22 10:40:51 -0600
committerJens Axboe <axboe@fb.com>2014-05-22 10:43:07 -0600
commit07068d5b8ed8fa6759b2826ba9197e49b69a1fc3 (patch)
tree3e13c8e1028e3722be926487acae5473c1eda2be /block/blk-mq-tag.h
parent484b4061e6683e0e6a09c7455f80781128dc8a6b (diff)
downloadlinux-0-day-07068d5b8ed8fa6759b2826ba9197e49b69a1fc3.tar.gz
linux-0-day-07068d5b8ed8fa6759b2826ba9197e49b69a1fc3.tar.xz
blk-mq: split make request handler for multi and single queue
We want slightly different behavior from them: - On single queue devices, we currently use the per-process plug for deferred IO and for merging. - On multi queue devices, we don't use the per-process plug, but we want to go straight to hardware for SYNC IO. Split blk_mq_make_request() into a blk_sq_make_request() for single queue devices, and retain blk_mq_make_request() for multi queue devices. Then we don't need multiple checks for q->nr_hw_queues in the request mapping. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-tag.h')
0 files changed, 0 insertions, 0 deletions