svn commit: r358489 - stable/12/sys/cam/ata
Scott Long
scottl at FreeBSD.org
Sun Mar 1 18:02:00 UTC 2020
Author: scottl
Date: Sun Mar 1 18:02:00 2020
New Revision: 358489
URL: https://svnweb.freebsd.org/changeset/base/358489
Log:
Add a quirk for the WDC Green series of SSDs to disable NCQ TRIM, as this
avoids silent data corruption.
PR: 225666
Submitted by: anders lundgren
Modified:
stable/12/sys/cam/ata/ata_da.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/cam/ata/ata_da.c
==============================================================================
--- stable/12/sys/cam/ata/ata_da.c Sun Mar 1 17:46:28 2020 (r358488)
+++ stable/12/sys/cam/ata/ata_da.c Sun Mar 1 18:02:00 2020 (r358489)
@@ -782,6 +782,11 @@ static struct ada_quirk_entry ada_quirk_table[] =
/*quirks*/ADA_Q_SMR_DM
},
{
+ /* WD Green SSD */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "WDC WDS?????G0*", "*" },
+ /*quirks*/ADA_Q_4K | ADA_Q_NCQ_TRIM_BROKEN
+ },
+ {
/* Default */
{
T_ANY, SIP_MEDIA_REMOVABLE|SIP_MEDIA_FIXED,
More information about the svn-src-stable-12
mailing list