]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: set REQ_QUEUE for the blk-mq case
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Oct 2014 15:13:58 +0000 (17:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 18:10:36 +0000 (10:10 -0800)
commit69700c4380479d395fee66d56d6d0ba8f1d22d07
tree6fba333c51926594a5d30c1dd2085f02ad4a46df
parenta58c28f66aca396c19f297b6c29835971a1e2886
scsi: set REQ_QUEUE for the blk-mq case

commit b1dd2aac4cc0892b82ec60232ed37e3b0af776cc upstream.

To generate the right SPI tag messages we need to properly set
QUEUE_FLAG_QUEUED in the request_queue and mirror it to the
request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Reported-by: Meelis Roos <mroos@linux.ee>
Tested-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/scsi_lib.c
include/scsi/scsi_tcq.h