On Thu, May 25, 2017 at 11:43:10AM -0700, Bart Van Assche wrote: > >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_PDU. I would call it QUEUE_FLAG_SCSI_PASSTHROUGH, but except for that: Reviewed-by: Christoph Hellwig <hch@xxxxxx>