Re: TRIM/UNMAP/DISCARD via ATA Passthrough
From: Jason A. Donenfeld
Date: Thu Sep 15 2016 - 11:41:50 EST
On Wed, Sep 14, 2016 at 8:37 PM, Martin K. Petersen
> How do they signal that they support the passthrough?
Through the usual SCSI ATA-passthrough interface, "SAT" (SCSI-ATA
Command Translation) -- ATA PASS THROUGH SCSI (16) and ATA PASS
THROUGH SCSI (12).
I can use hdparm to treat /dev/sdb as an ATA interface:
zx2c4@thinkpad ~ $ sudo hdparm -I /dev/sdb | grep TRIM
* Data Set Management TRIM supported