From: Christoph Hellwig Date: Sat, 13 Sep 2014 23:40:09 +0000 (-0700) Subject: blk-mq: call blk_mq_start_request from ->queue_rq X-Git-Tag: fixes-against-v3.18-rc2~51^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2490073cd7c3d6f6ef6e029a208edd4d38efac4;p=pandora-kernel.git blk-mq: call blk_mq_start_request from ->queue_rq When we call blk_mq_start_request from the core blk-mq code before calling into ->queue_rq there is a racy window where the timeout handler can hit before we've fully set up the driver specific part of the command. Move the call to blk_mq_start_request into the driver so the driver can start the request only once it is fully set up. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- Reading git-diff-tree failed