Date: Sun, 17 Apr 2016 02:06:10 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298137 - head/sys/cam/ata Message-ID: <201604170206.u3H26A0w021508@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sun Apr 17 02:06:10 2016 New Revision: 298137 URL: https://svnweb.freebsd.org/changeset/base/298137 Log: Dell has an OEM drive from Samsung that has issues. NCQ Trim isn't broken on this drive, but it doesn't support it and the fallback logic is failing. Quirk it until those issues can be resolved in a more generic way. Modified: head/sys/cam/ata/ata_da.c Modified: head/sys/cam/ata/ata_da.c ============================================================================== --- head/sys/cam/ata/ata_da.c Sun Apr 17 02:05:45 2016 (r298136) +++ head/sys/cam/ata/ata_da.c Sun Apr 17 02:06:10 2016 (r298137) @@ -588,6 +588,15 @@ static struct ada_quirk_entry ada_quirk_ }, { /* + * Samsung PM851 Series SSDs Dell OEM + * device model "SAMSUNG SSD PM851 mSATA 256GB" + * 4k optimised, NCQ broken + */ + { T_DIRECT, SIP_MEDIA_FIXED, "*", "SAMSUNG SSD PM851*", "*" }, + /*quirks*/ADA_Q_4K | ADA_Q_NCQ_TRIM_BROKEN + }, + { + /* * SuperTalent TeraDrive CT SSDs * 4k optimised & trim only works in 4k requests + 4k aligned */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604170206.u3H26A0w021508>