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)
committerTejun Heo <tj@kernel.org>
Fri, 27 Mar 2015 19:22:46 +0000 (15:22 -0400)
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>
drivers/ata/libata-core.c

index 86374df..23dac3b 100644 (file)
@@ -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