libata: Blacklist queued TRIM on Samsung SSD 850 Pro
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 27 Mar 2015 19:17:21 +0000 (15:17 -0400)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 27 Aug 2015 17:26:09 +0000 (13:26 -0400)
[ Upstream commit 6fc4d97a4987c5d247655a157a9377996626221a ]

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
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/ata/libata-core.c

index d36525df193691d44fe7b39e9dcc6674d4e0fbd8..a90329f81858073336a539f47c40dde676101522 100644 (file)
@@ -4236,6 +4236,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