scsi: mptsas: Disable WRITE SAME
authorMartin K. Petersen <martin.petersen@oracle.com>
Thu, 19 Apr 2018 02:54:59 +0000 (22:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Apr 2018 09:32:02 +0000 (11:32 +0200)
commit70f2351eca535c590dad1657a3761650c8515acb
tree96689ff1bc762127e3ade7f8942cd0d784ed9d1e
parent2f7be1262873bb200ab18fe7627231c9da9f22b2
scsi: mptsas: Disable WRITE SAME

commit 94e5395d2403c8bc2504a7cbe4c4caaacb7b8b84 upstream.

First generation MPT Fusion controllers can not translate WRITE SAME
when the attached device is a SATA drive. Disable WRITE SAME support.

Reported-by: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
Cc: <stable@vger.kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/message/fusion/mptsas.c