Skip to contentSkip to conversation

libata: disable queued TRIM for Crucial M500 mSATA SSDs

PATCH Applied Marios Andreopoulos 2 participants 2 messages Mar 3, 2014 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libata: disable queued TRIM for Crucial M500 mSATA SSDs

From: Marios Andreopoulos <[email protected]>

Queued TRIM commands cause problems and silent file system corruption on Crucial M500 SSDs. This patch disables them for the mSATA model of the drive.

---
More information can be found on this bug report:
https://bugzilla.kernel.org/show_bug.cgi?id=71371

 drivers/ata/libata-core.c |    1 +
 1 file changed, 1 insertion(+)
drivers/ata/libata-core.c +1 -0
diff -pruN a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
@@ -4225,6 +4225,7 @@ static const struct ata_blacklist_entry
 	/* devices that don't properly handle queued TRIM commands */
 	{ "Micron_M500*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
 	{ "Crucial_CT???M500SSD1",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
+	{ "Crucial_CT???M500SSD3",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
 
 	/*
 	 * Some WD SATA-I drives spin up and down erratically when the link
Applied
#1 lore raw
Quoted 7 lines · Marios Andreopoulos

From: Marios Andreopoulos <[email protected]>

Queued TRIM commands cause problems and silent file system corruption on Crucial M500 SSDs. This patch disables them for the mSATA model of the drive.

Applied to libata/for-3.14-fixes w/ stable cc'd.

Thanks.

Signature · 1 line
tejun