libata: disable queued TRIM for Crucial M500 mSATA SSDs
authorMarios Andreopoulos <opensource@andmarios.com>
Mon, 3 Mar 2014 16:19:59 +0000 (18:19 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 3 Mar 2014 22:49:05 +0000 (17:49 -0500)
commit2564338b13e6e132ee224edb63e1e872adf431f4
tree7dbbf91f1803e61eb09ede3e78c0ce1f2719e7ce
parent67809f85d31eac600f6b28defa5386c9d2a13b1d
libata: disable queued TRIM for Crucial M500 mSATA SSDs

Queued TRIM commands cause problems and silent file system corruption
on Crucial M500 SSDs. This patch disables them for the mSATA model of
the drive.

Signed-off-by: Marios Andreopoulos <opensource@andmarios.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org # 3.12+
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=71371
drivers/ata/libata-core.c