Bug 83181
Summary: | TRIM/discard fails when using TRIM enabled USB memory sticks (and USB3-SATA2 adaptors) | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | John (ted) |
Component: | Other | Assignee: | io_other |
Status: | NEW --- | ||
Severity: | normal | CC: | ralph, sven.koehler, szg00000 |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.15.10-200.fc20.x86_64 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
John
2014-08-25 16:25:45 UTC
The referenced launchpad bug suggests hdparm(8)'s --trim-sector-ranges works because it uses ATA commands directly. fstrim(8) fails, even with ATA-passthrough SCSI command that lets smartctl(8) work, due to lack of usb-storage driver support. Interesting comments start at #18 (no anchor available!) at https://bugs.launchpad.net/ubuntu/+source/linux-lts-xenial/+bug/1336541 Could someone knowledgeable in the this area take a look and the comments and give a summary of the problem. Perhaps it can then be moved off the `io_other' component. |