On Tue, Aug 09, 2022 at 10:50:50AM +0200, Martin Wilck wrote: > Are you suggesting to re-invent REQ_OP_SCSI_{IN,OUT} to distinguish > SG_IO from kernel-internal passthrough? No. We just need a flag in struct scsi_cmnd that controls the retry behavior for passthrugh commands.