libata: Signal that our SATL supports WRITE SAME(16) with UNMAP
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 10 Sep 2010 05:23:18 +0000 (01:23 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 22 Oct 2010 00:21:05 +0000 (20:21 -0400)
commit02e0a60477d839b8f8f974790192f5230f2371d2
tree4efb429536201d93a290a17a8806e269cc59fc38
parent9950110cf0f79db91c0103876f3a58c9069243eb
libata: Signal that our SATL supports WRITE SAME(16) with UNMAP

Until now identifying that a device supports WRITE SAME(16) with the
UNMAP bit set has been black magic.  Implement support for the SBC-3
Thin Provisioning VPD page and set the TPWS bit.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-scsi.c