All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libata: disable queued TRIM for Crucial M500 mSATA SSDs
@ 2014-03-03 16:19 Marios Andreopoulos
  2014-03-03 22:51 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Marios Andreopoulos @ 2014-03-03 16:19 UTC (permalink / raw)
  To: linux-ide

From: Marios Andreopoulos <opensource@andmarios.com>

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.

Signed-off-by: Marios Andreopoulos <opensource@andmarios.com>
---
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(+)

diff -pruN a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
--- a/drivers/ata/libata-core.c	2014-03-02 02:04:02.000000000 +0200
+++ b/drivers/ata/libata-core.c	2014-03-03 17:49:14.867332615 +0200
@@ -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


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

end of thread, other threads:[~2014-03-03 22:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-03 16:19 [PATCH] libata: disable queued TRIM for Crucial M500 mSATA SSDs Marios Andreopoulos
2014-03-03 22:51 ` Tejun Heo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.