diff options
author | Guillermo A. Amaral <g@maral.me> | 2015-08-25 23:29:13 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-08-26 11:30:47 -0400 |
commit | 7a7184b01aa9deb86df661c6f7cbcf69a95b728c (patch) | |
tree | d12deb0381c30bff80f55e99d2ff3dfde135299e | |
parent | f9114d357858c1429dcde022706db7443918f49f (diff) | |
download | op-kernel-dev-7a7184b01aa9deb86df661c6f7cbcf69a95b728c.zip op-kernel-dev-7a7184b01aa9deb86df661c6f7cbcf69a95b728c.tar.gz |
Add factory recertified Crucial M500s to blacklist
The Crucial M500 is known to have issues with queued TRIM commands, the
factory recertified SSDs use a different model number naming convention
which causes them to get ignored by the blacklist.
The new naming convention boils down to: s/Crucial_/FC/
Signed-off-by: Guillermo A. Amaral <g@maral.me>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
-rw-r--r-- | drivers/ata/libata-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 19bcb80..790e0de 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4230,6 +4230,8 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { ATA_HORKAGE_ZERO_AFTER_TRIM, }, { "Samsung SSD 8*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | ATA_HORKAGE_ZERO_AFTER_TRIM, }, + { "FCCT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | + ATA_HORKAGE_ZERO_AFTER_TRIM, }, /* devices that don't properly handle TRIM commands */ { "SuperSSpeed S238*", NULL, ATA_HORKAGE_NOTRIM, }, |