svn commit: r298137 - head/sys/cam/ata

Warner Losh imp at FreeBSD.org
Sun Apr 17 02:06:11 UTC 2016


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
 		 */


More information about the svn-src-head mailing list