opnsense-src/sys/cam/ata
Andriy Gapon bf11fee6a5 ata_da: add quirk to disable NCQ TRIM for Samsung 860/870 SSDs
NCQ TRIM for Samsung 860/870 SSDs results in data corruption on systems
with some SATA controllers.

This can be easily reproduced using ZFS which uses TRIM and is able to
detect block content changes.

Linux bug report for this issue:
 https://bugzilla.kernel.org/show_bug.cgi?id=201693

Since at present we can not limit a quirk based on the contorller / SIM,
apply the quirk in all cases.

Reviewed by:	imp

(cherry picked from commit c01af41c3c8fdd570764ff9b6bfbad6ac9ca1664)
2024-03-16 17:13:27 +02:00
..
ata_all.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ata_all.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ata_da.c ata_da: add quirk to disable NCQ TRIM for Samsung 860/870 SSDs 2024-03-16 17:13:27 +02:00
ata_pmp.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ata_xpt.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00