commit | 045d3fe766b01921e24e2d4178e011b3b09ad4d6 | [log] [tgz] |
---|---|---|
author | Martin K. Petersen <martin.petersen@oracle.com> | Fri Sep 10 01:22:07 2010 -0400 |
committer | James Bottomley <James.Bottomley@suse.de> | Fri Sep 17 13:07:55 2010 -0400 |
tree | ae0d69a0181def3bea7e7387d79e61ee943cc940 | |
parent | a36c61f9025b8924f99f54d518763bee7aa84085 [diff] |
[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 <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>