Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: libata-core: Disable TRIM on M88V29

This device is a CF card, or possibly an SSD in CF form factor.
It supports NCQ and high speed DMA.

While it also advertises TRIM support, I/O errors are reported
when the discard mount option fstrim is used. TRIM also fails
when disabling NCQ and not just as an NCQ command.

TRIM must be disabled for this device.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>

authored by

Zoltán Böszörményi and committed by
Damien Le Moal
c8ea23d5 921d2eb0

+1
+1
drivers/ata/libata-core.c
··· 4029 4029 4030 4030 /* devices that don't properly handle TRIM commands */ 4031 4031 { "SuperSSpeed S238*", NULL, ATA_HORKAGE_NOTRIM, }, 4032 + { "M88V29*", NULL, ATA_HORKAGE_NOTRIM, }, 4032 4033 4033 4034 /* 4034 4035 * As defined, the DRAT (Deterministic Read After Trim) and RZAT