On Thu, Aug 02, 2018 at 02:24:16PM +0200, Oliver Neukum wrote: > On Mo, 2018-07-30 at 14:43 +0300, Mailing Lists wrote: > > I cannot issue TRIM commands to SSD behind a JMS578-based sata to > > usb-c adapter. Tried with Fedora 28 kernel and with latest > > 4.18.0-0.rc6.git0.1.vanilla.knurd.1.fc28.x86_64 > > lsblk -D shows that discard is not enabled, but the SSD has this > > capability (see below) > > Hi Johannes, > > is there a way to signal the SCSI layer that a trim for a device should > be attempted, even if it claims not to support it? Generally speaking no. If the USB Adapter doesn't translate the Command it doesn't translate it. Byte, Johannes -- Johannes Thumshirn Storage jthumshirn@xxxxxxx +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html