diff options
author | Arne Fitzenreiter <arne_f@ipfire.org> | 2015-07-15 13:54:37 +0200 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2015-08-11 09:57:32 +0100 |
commit | 742257bedbb60c2e1615fbc0f7217ae1370b4515 (patch) | |
tree | 577566844680a0fad7c15a2d30112d8d083de2f4 /drivers/ata | |
parent | 17702a9ba8c13611c6c94d23401183cbcfd06b26 (diff) | |
download | linux-stable-742257bedbb60c2e1615fbc0f7217ae1370b4515.tar.gz linux-stable-742257bedbb60c2e1615fbc0f7217ae1370b4515.tar.bz2 linux-stable-742257bedbb60c2e1615fbc0f7217ae1370b4515.zip |
libata: force disable trim for SuperSSpeed S238
commit cda57b1b05cf7b8b99ab4b732bea0b05b6c015cc upstream.
This device loses blocks, often the partition table area, on trim.
Disable TRIM.
http://pcengines.ch/msata16a.htm
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
[ luis: backported to 3.16: adjusted context ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index ef37e80fe9d5..d9ea12a004bc 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4232,6 +4232,9 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { { "Crucial_CT*MX100*", "MU01", ATA_HORKAGE_NO_NCQ_TRIM, }, { "Samsung SSD 8*", 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 * is put into the slumber mode. We don't have full list of the |