linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TRIM/UNMAP/DISCARD via ATA Passthrough
@ 2016-09-12 18:50 Jason A. Donenfeld
  2016-09-13 17:45 ` Henrique de Moraes Holschuh
  2016-09-14 18:37 ` Martin K. Petersen
  0 siblings, 2 replies; 13+ messages in thread
From: Jason A. Donenfeld @ 2016-09-12 18:50 UTC (permalink / raw)
  To: linux-scsi; +Cc: LKML

Hi folks,

There's a huge quantity of USB enclosures flooding the market for
quite sometime that support UASP, which is very nice. This allows for
higher speeds by using the SCSI command set via the uas driver, and
offers various other advantages over the classic usb-storage driver.

These USB enclosures do not support SCSI UNMAP. However, they do
support ATA-passthrough, and `hdparm -I` shows that TRIM is supported.

I was wondering if it'd be possible to have the uas driver -- or
perhaps somewhere else in the stack -- fall back to using
ATA-passthrough-TRIM for UNMAP, so that discard can work properly.
AFAIK, the Windows drivers do exactly this.

If the answer is, "yes we want this! but we don't have the man power,"
please tell me where I can start looking, so that I can submit the
patch myself.

Thanks,
Jason

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-09-19 13:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-12 18:50 TRIM/UNMAP/DISCARD via ATA Passthrough Jason A. Donenfeld
2016-09-13 17:45 ` Henrique de Moraes Holschuh
2016-09-14 18:37 ` Martin K. Petersen
2016-09-15 15:41   ` Jason A. Donenfeld
2016-09-15 16:07     ` Martin K. Petersen
2016-09-15 20:52       ` Jason A. Donenfeld
2016-09-16 11:16         ` Hannes Reinecke
2016-09-16 15:53           ` Austin S. Hemmelgarn
2016-09-16 16:21             ` James Bottomley
2016-09-16 17:06               ` Austin S. Hemmelgarn
2016-09-17  1:24                 ` Jason A. Donenfeld
2016-09-17  5:14                 ` James Bottomley
2016-09-19 13:01                   ` Austin S. Hemmelgarn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).