From: Martin K. Petersen Date: Fri, 10 Sep 2010 05:22:07 +0000 (-0400) Subject: [SCSI] sd: Update thin provisioning support X-Git-Tag: v2.6.37-rc1~159^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=045d3fe766b01921e24e2d4178e011b3b09ad4d6;p=pandora-kernel.git [SCSI] sd: Update thin provisioning support Add support for the Thin Provisioning VPD page and use the TPU and TPWS bits to switch between UNMAP and WRITE SAME(16) for discards. If no TP VPD page is present we fall back to old scheme where the max descriptor count combined with the max lba count are used trigger UNMAP. Signed-off-by: Martin K. Petersen Signed-off-by: James Bottomley --- Reading git-diff-tree failed