From: Jens Axboe Date: Thu, 22 May 2014 16:40:51 +0000 (-0600) Subject: blk-mq: split make request handler for multi and single queue X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~49^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07068d5b8e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed