]> git.baikalelectronics.ru Git - kernel.git/commit
libata: Allow NCQ TRIM to be enabled or disabled with a module parameter
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 May 2015 01:54:18 +0000 (21:54 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 5 May 2015 13:30:18 +0000 (09:30 -0400)
commita842549a55a18b6d338acf99390f45467c812a18
tree2d4e778ad5f332eb067f04edc77bc2af3c15ea24
parent3ea7378f13c10f8c59c6d26c61af5d4c1b64a771
libata: Allow NCQ TRIM to be enabled or disabled with a module parameter

We have started seeing SSD firmware updates introduce support for queued
TRIM. Sadly, in most cases this support is completely untested and can
lead to either errors or data corruption.

Add two libata force flags that can be used to either enable or disable
queued TRIM support.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/kernel-parameters.txt
drivers/ata/libata-core.c