Bug 215311

Summary: Support ATA command passthrough for iSCSI -> SATA
Product: IO/Storage Reporter: nfxjfg
Component: SCSIAssignee: linux-scsi (linux-scsi)
Status: NEW ---    
Severity: enhancement    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.10.x Subsystem:
Regression: No Bisected commit-id:

Description nfxjfg 2021-12-12 16:06:19 UTC
This would be a nice feature for using smartctl over iSCSI (where the target is a SATA disk). So far, this seems to be needed in the iSCSI target implementation or another part of the target's SCSI layer or SATA glue code. I can actually send ATA passthrough commands (0x85) from a Linux initiator, just the target rejects them as invalid or unknown.

Hints which subsystem or even source file would handle this would be nice too, maybe I could attempt a patch (though somewhat unlikely I would succeed).

Does iSCSI+SATA really work by translating SCSI commands to ATA commands? Crazy world if that's correct.