diff options
author | imp <imp@FreeBSD.org> | 2016-04-17 02:06:10 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2016-04-17 02:06:10 +0000 |
commit | ed9d716b80e84968e05d200870f00ba2418d13b4 (patch) | |
tree | 4d42f45f349d86999d79e891c6ae0de151c478bb /sys/cam | |
parent | 3ed20b5310ad493ecd9b12cfda8add85c93fbb8e (diff) | |
download | FreeBSD-src-ed9d716b80e84968e05d200870f00ba2418d13b4.zip FreeBSD-src-ed9d716b80e84968e05d200870f00ba2418d13b4.tar.gz |
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.
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/ata/ata_da.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c index 05134d7..7b1ebb4 100644 --- a/sys/cam/ata/ata_da.c +++ b/sys/cam/ata/ata_da.c @@ -588,6 +588,15 @@ static struct ada_quirk_entry ada_quirk_table[] = }, { /* + * 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 */ |