[PATCH] [Utopic](upstream) libata: Blacklist queued TRIM on all Samsung 800-series

Dave Chiluk chiluk at canonical.com
Tue Jun 2 22:08:39 UTC 2015


From: "Martin K. Petersen" <martin.petersen at oracle.com>

BugLink: http://bugs.launchpad.net/bugs/1338706
BugLink: http://bugs.launchpad.net/bugs/1449005

The queued TRIM problems appear to be generic to Samsung's firmware and
not tied to a particular model. A recent update to the 840 EVO firmware
introduced the same issue as we saw on 850 Pro.

Blacklist queued TRIM on all 800-series drives while we work this issue
with Samsung.

Reported-by: Günter Waller <g.wal at web.de>
Reported-by: Sven Köhler <sven.koehler at gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen at oracle.com>
Cc: stable at vger.kernel.org
Signed-off-by: Tejun Heo <tj at kernel.org>
(backported from commit 9a9324d3969678d44b330e1230ad2c8ae67acf81)
Signed-off-by: Dave Chiluk <chiluk at canonical.com>

Conflicts:
	drivers/ata/libata-core.c
---
 drivers/ata/libata-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index e1ad6e5..56f4a52 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4228,6 +4228,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
 	{ "Crucial_CT???M500SSD*",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
 	{ "Micron_M550*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
 	{ "Crucial_CT*M550SSD*",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
+	{ "Samsung SSD 8*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM, },
 
 	/*
 	 * Some WD SATA-I drives spin up and down erratically when the link
-- 
1.9.1





More information about the kernel-team mailing list