Skip to content

libata: disable queued trim for Micron M500 SSDs

Marc Carino linux-ide 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libata: add horkage flag to disable issuance of queued TRIM commandsinclude/linux/libata.h+2 -00 replies
2/2libata: disable queued TRIMs for Micron M500 SSDsdrivers/ata/libata-core.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] libata: disable queued trim for Micron M500 SSDs

There was a report of silent data corruption on Fedora 20 w/ the v3.12 kernel. After some analysis of SATA traces, it appears that in certain queued scenarios, the Micron M500 SSD will exhibit incorrect protocol behavior. A support request was sent to the vendor, and a firmware fix is in the works.

Until a firmware update is deployed for the Micron/Crucial M500 SSD, the ATA driver should avoid issuing the queued TRIM commands to the affected devices.

This patchset adds a new horkage flag to let the queued trim commands be disabled, depending on the drive model string.

Marc Carino (2):
libata: add horkage flag to disable issuance of queued TRIM commands
libata: disable queued TRIMs for Micron M500 SSDs

 drivers/ata/libata-core.c | 11 +++++++++++
 include/linux/libata.h    |  2 ++
 2 files changed, 13 insertions(+)
Signature · 1 line
1.8.1.3