]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81907052982f62001779ee37410e8d261b854279
treefc8bcb323218f1ea0e17825bf0ea77a8e7a48fdd
parent8ccfbb65e42473d8d692da8133c76760a84457c2
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