scsi: move blk_mq_start_request call earlier
authorChristoph Hellwig <hch@lst.de>
Mon, 22 Sep 2014 13:59:31 +0000 (15:59 +0200)
committerJens Axboe <axboe@fb.com>
Mon, 22 Sep 2014 18:00:08 +0000 (12:00 -0600)
commitfe052529e465daff25225aac769828baa88b7252
treef27c6827c40330d4f9ff4e47252f200cd9a69876
parent90415837659fec54f33584b423dab250eb1e8432
scsi: move blk_mq_start_request call earlier

Some ATA drivers need the dma drain size workaround, and thus need to
call blk_mq_start_request before the S/G mapping.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/scsi_lib.c