]>
Commit | Line | Data |
---|---|---|
3d783836 GKH |
1 | From 7a7184b01aa9deb86df661c6f7cbcf69a95b728c Mon Sep 17 00:00:00 2001 |
2 | From: "Guillermo A. Amaral" <g@maral.me> | |
3 | Date: Tue, 25 Aug 2015 23:29:13 -0700 | |
4 | Subject: Add factory recertified Crucial M500s to blacklist | |
5 | ||
6 | From: "Guillermo A. Amaral" <g@maral.me> | |
7 | ||
8 | commit 7a7184b01aa9deb86df661c6f7cbcf69a95b728c upstream. | |
9 | ||
10 | The Crucial M500 is known to have issues with queued TRIM commands, the | |
11 | factory recertified SSDs use a different model number naming convention | |
12 | which causes them to get ignored by the blacklist. | |
13 | ||
14 | The new naming convention boils down to: s/Crucial_/FC/ | |
15 | ||
16 | Signed-off-by: Guillermo A. Amaral <g@maral.me> | |
17 | Signed-off-by: Tejun Heo <tj@kernel.org> | |
18 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
19 | ||
20 | --- | |
21 | drivers/ata/libata-core.c | 2 ++ | |
22 | 1 file changed, 2 insertions(+) | |
23 | ||
24 | --- a/drivers/ata/libata-core.c | |
25 | +++ b/drivers/ata/libata-core.c | |
26 | @@ -4230,6 +4230,8 @@ static const struct ata_blacklist_entry | |
27 | ATA_HORKAGE_ZERO_AFTER_TRIM, }, | |
28 | { "Samsung SSD 8*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | | |
29 | ATA_HORKAGE_ZERO_AFTER_TRIM, }, | |
30 | + { "FCCT*M500*", NULL, ATA_HORKAGE_NO_NCQ_TRIM | | |
31 | + ATA_HORKAGE_ZERO_AFTER_TRIM, }, | |
32 | ||
33 | /* devices that don't properly handle TRIM commands */ | |
34 | { "SuperSSpeed S238*", NULL, ATA_HORKAGE_NOTRIM, }, |