]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerChristoph Hellwig <hch@lst.de>
Tue, 28 Oct 2014 08:53:43 +0000 (09:53 +0100)
commitb1dd2aac4cc0892b82ec60232ed37e3b0af776cc
tree393321bf7de6c136282ae8550cb8173f86b6b5a9
parente999dbc254044e8d2a5818d92d205f65bae28f37
scsi: set REQ_QUEUE for the blk-mq case

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>
Cc: stable@vger.kernel.org
drivers/scsi/scsi_lib.c
include/scsi/scsi_tcq.h