From: Martin K. Petersen Date: Thu, 19 Aug 2010 15:49:00 +0000 (-0400) Subject: [SCSI] scsi_debug: Update thin provisioning support X-Git-Tag: v2.6.37-rc1~159^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6014759c929b4ce8c068810b8d05f31969df5897;p=pandora-kernel.git [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 Acked-by: Douglas Gilbert Signed-off-by: James Bottomley --- Reading git-diff-tree failed