summaryrefslogtreecommitdiff
path: root/drivers/scsi/ipr.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2010-08-19 11:49:00 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-09-09 15:34:40 -0500
commit6014759c929b4ce8c068810b8d05f31969df5897 (patch)
tree3b0e9dee2dcc17a63367e04bd965e9262a288777 /drivers/scsi/ipr.c
parent47259658ed9fad837541b738f9375d38022daa14 (diff)
downloadlinux-3.10-6014759c929b4ce8c068810b8d05f31969df5897.tar.gz
linux-3.10-6014759c929b4ce8c068810b8d05f31969df5897.tar.bz2
linux-3.10-6014759c929b4ce8c068810b8d05f31969df5897.zip
[SCSI] scsi_debug: Update thin provisioning support
The previous thin provisioning support was not very user friendly because it depended on all the relevant options being set on the command line. Implement support for the Thin Provisioning VPD page from SBC3 r24 and add module options for TPU (UNMAP) and TPWS (WRITE SAME (16) with UNMAP bit). This allows us to have sane default and to enable thin provisioning with a simple tpu=1 or tpws=1 on the command line depending on whether we want UNMAP or WRITE SAME behavior. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/ipr.c')
0 files changed, 0 insertions, 0 deletions