]> git.baikalelectronics.ru Git - kernel.git/commit
ata: libata-core: Disable TRIM on M88V29
authorZoltán Böszörményi <zboszor@gmail.com>
Fri, 4 Feb 2022 12:57:50 +0000 (13:57 +0100)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 8 Feb 2022 08:06:14 +0000 (17:06 +0900)
commitf13f8bcdd8dcbf78ccc2a7db4aa6e9c25b2dc581
tree2ce1f52cc236e6bf82c742cdfb01019c6548a183
parent2508fba3638149acc3801dc1f440b0809224b02f
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>
drivers/ata/libata-core.c