diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2024-02-19 10:16:47 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2024-02-19 10:16:47 +0000 |
commit | b7dce5b8e988f47784c55aa096541deda7b1aaeb (patch) | |
tree | 27f96626b6f31212bdbc7139a55a80473cf84ab5 | |
parent | c01af41c3c8fdd570764ff9b6bfbad6ac9ca1664 (diff) |
scsi_da: add 4K quirks for Samsung SSD 860 and 870
Although the actual flash page size is either 8K or 16K for those
devices (according to different sources of various reliability), they
seem to be optimized for the "industry-standard" emulated 4K block size.
To do: consolidate very similar Samsung SSD entries for 830 - 870
models.
MFC after: 2 weeks
-rw-r--r-- | sys/cam/scsi/scsi_da.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index d578e4ccb712..9b3d706d6168 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -1397,6 +1397,22 @@ static struct da_quirk_entry da_quirk_table[] = }, { /* + * Samsung 860 SSDs + * 4k optimised & trim only works in 4k requests + 4k aligned + */ + { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Samsung SSD 860*", "*" }, + /*quirks*/DA_Q_4K + }, + { + /* + * Samsung 870 SSDs + * 4k optimised & trim only works in 4k requests + 4k aligned + */ + { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Samsung SSD 870*", "*" }, + /*quirks*/DA_Q_4K + }, + { + /* * Samsung 843T Series SSDs (MZ7WD*) * Samsung PM851 Series SSDs (MZ7TE*) * Samsung PM853T Series SSDs (MZ7GE*) |