diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2010-08-19 11:49:00 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-09-09 15:34:40 -0500 |
commit | 6014759c929b4ce8c068810b8d05f31969df5897 (patch) | |
tree | 3b0e9dee2dcc17a63367e04bd965e9262a288777 /drivers/block | |
parent | 47259658ed9fad837541b738f9375d38022daa14 (diff) | |
download | blackbird-op-linux-6014759c929b4ce8c068810b8d05f31969df5897.tar.gz blackbird-op-linux-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/block')
0 files changed, 0 insertions, 0 deletions