]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
libata: force disable trim for SuperSSpeed S238
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 15 Jul 2015 11:54:37 +0000 (13:54 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 27 Aug 2015 17:26:12 +0000 (13:26 -0400)
commitdfacf53c1a6ecfd3ae1d81ac173c00366cb4db79
treead76fa946b54c0b8c61cc169e5c3b7bdc3007592
parent3fa84d66219c984590bd59959e283fba6d4bc9e0
libata: force disable trim for SuperSSpeed S238

[ Upstream commit cda57b1b05cf7b8b99ab4b732bea0b05b6c015cc ]

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>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/ata/libata-core.c