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)
committerJens Axboe <axboe@fb.com>
Fri, 3 Apr 2015 01:34:54 +0000 (19:34 -0600)
commit61153118870812f146e074f8fb2e5c151f096888
tree2c62fb0cd54fe35475a8ddd6adf5b2d4c6c0f268
parent52bc3b9ad80e64f5f85eadc05c5c9016344d8478
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.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
drivers/scsi/scsi_lib.c
include/scsi/scsi_tcq.h