summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2016-04-15 03:10:04 +0000
committerimp <imp@FreeBSD.org>2016-04-15 03:10:04 +0000
commit67c9da0828a05e0891ba112692341f2ea716ee63 (patch)
tree0c5ac4f09c62b3c9ee38ac5cd8612e1f38456e5d /sys/cam
parent8c678df2723eb10e3369fded7d721f028d809dd9 (diff)
downloadFreeBSD-src-67c9da0828a05e0891ba112692341f2ea716ee63.zip
FreeBSD-src-67c9da0828a05e0891ba112692341f2ea716ee63.tar.gz
Add FCCT M500 to the NCQ black list. Linux added it in 4.2 (August
2015). Correct the M500 firmware versions. EU07 was the engineering test version, not the release version with the fix. MU07 is the release version. It's the only Micron firmware version to actually work. Remove support for EU07. This brings the blacklist into parity with the Linux blacklist as of 4.5, except for the Micron M500 MU07 entry. I personally tested the MU07 firmware on 12 machines running 6 drives each with no corruption in the past 6 months with Netflix production loads. Prior versions of the M500 firmware wouldn't last more than a few days. Sponsored by: Netflix, Inc.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/ata/ata_da.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c
index d983a97..5ead0d1 100644
--- a/sys/cam/ata/ata_da.c
+++ b/sys/cam/ata/ata_da.c
@@ -361,10 +361,10 @@ static struct ada_quirk_entry ada_quirk_table[] =
},
{
/*
- * Crucial M500 SSDs EU07 firmware
- * NCQ Trim works ?
+ * Crucial M500 SSDs MU07 firmware
+ * NCQ Trim works
*/
- { T_DIRECT, SIP_MEDIA_FIXED, "*", "Crucial CT*M500*", "EU07" },
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "Crucial CT*M500*", "MU07" },
/*quirks*/0
},
{
@@ -401,6 +401,14 @@ static struct ada_quirk_entry ada_quirk_table[] =
},
{
/*
+ * FCCT M500 SSDs
+ * NCQ Trim doesn't work
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "FCCT*M500*", "*" },
+ /*quirks*/ADA_Q_NCQ_TRIM_BROKEN
+ },
+ {
+ /*
* Intel 320 Series SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/
@@ -465,10 +473,10 @@ static struct ada_quirk_entry ada_quirk_table[] =
},
{
/*
- * Micron M500 SSDs firmware EU07
+ * Micron M500 SSDs firmware MU07
* NCQ Trim works?
*/
- { T_DIRECT, SIP_MEDIA_FIXED, "*", "Micron M500*", "EU07" },
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "Micron M500*", "MU07" },
/*quirks*/0
},
{
OpenPOWER on IntegriCloud