block: Introduce queue flag QUEUE_FLAG_SCSI_PASSTHROUGH
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 31 May 2017 21:43:46 +0000 (14:43 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 1 Jun 2017 19:10:40 +0000 (13:10 -0600)
commit9efc160f4bbd69b17b48edec53067537d04e62b7
treefc8bcb323218f1ea0e17825bf0ea77a8e7a48fdd
parentedea55abb86ff67afda96120d6254290e7a75d9e
block: Introduce queue flag QUEUE_FLAG_SCSI_PASSTHROUGH

From the context where a SCSI command is submitted it is not always
possible to figure out whether or not the queue the command is
submitted to has struct scsi_request as the first member of its
private data. Hence introduce the flag QUEUE_FLAG_SCSI_PASSTHROUGH.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Omar Sandoval <osandov@fb.com>
Cc: Don Brace <don.brace@microsemi.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bsg-lib.c
drivers/block/cciss.c
drivers/ide/ide-probe.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_transport_sas.c
include/linux/blkdev.h