Commit 0ff74faa authored by Arne Fitzenreiter's avatar Arne Fitzenreiter Committed by Sasha Levin

libata: force disable trim for SuperSSpeed S238

[ Upstream commit cda57b1b ]

This device loses blocks, often the partition table area, on trim.
Disable TRIM.
http://pcengines.ch/msata16a.htmSigned-off-by: default avatarArne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent e7a84605
...@@ -4231,6 +4231,9 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { ...@@ -4231,6 +4231,9 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
{ "Micron_M550*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, }, { "Micron_M550*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
{ "Crucial_CT*M550SSD*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, }, { "Crucial_CT*M550SSD*", NULL, ATA_HORKAGE_NO_NCQ_TRIM, },
/* devices that don't properly handle TRIM commands */
{ "SuperSSpeed S238*", NULL, ATA_HORKAGE_NOTRIM, },
/* /*
* Some WD SATA-I drives spin up and down erratically when the link * Some WD SATA-I drives spin up and down erratically when the link
* is put into the slumber mode. We don't have full list of the * is put into the slumber mode. We don't have full list of the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment