diff mbox

[2/2] libata: Blacklist queued TRIM on Samsung SSD 850 Pro

Message ID 1427483841-23401-2-git-send-email-martin.petersen@oracle.com
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

Martin K. Petersen March 27, 2015, 7:17 p.m. UTC
Blacklist queued TRIM on this drive for now.

Reported-by: Stefan Keller <linux-list@zahlenfresser.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
CC: stable@vger.kernel.org
---
 drivers/ata/libata-core.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tejun Heo March 27, 2015, 7:23 p.m. UTC | #1
On Fri, Mar 27, 2015 at 03:17:21PM -0400, Martin K. Petersen wrote:
> Blacklist queued TRIM on this drive for now.
> 
> Reported-by: Stefan Keller <linux-list@zahlenfresser.de>
> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
> CC: stable@vger.kernel.org

Applied 1-2 to libata/for-4.0-fixes.

Thanks.
diff mbox

Patch

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 42455ef977ff..81be545165d6 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4214,6 +4214,8 @@  static const struct ata_blacklist_entry ata_device_blacklist [] = {
 						ATA_HORKAGE_ZERO_AFTER_TRIM, },
 	{ "Crucial_CT*MX100*",		"MU01",	ATA_HORKAGE_NO_NCQ_TRIM |
 						ATA_HORKAGE_ZERO_AFTER_TRIM, },
+	{ "Samsung SSD 850 PRO*",	NULL,	ATA_HORKAGE_NO_NCQ_TRIM |
+						ATA_HORKAGE_ZERO_AFTER_TRIM, },
 
 	/*
 	 * As defined, the DRAT (Deterministic Read After Trim) and RZAT