From: Martin K. Petersen Date: Thu, 26 Nov 2009 17:00:40 +0000 (-0500) Subject: [SCSI] sd: WRITE SAME(16) / UNMAP support X-Git-Tag: v2.6.33-rc1~5^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e339c1a7c09ef736dca7b3a4353c7742557d9f8f;p=pandora-kernel.git [SCSI] sd: WRITE SAME(16) / UNMAP support Implement a function for handling discard requests that sends either WRITE SAME(16) or UNMAP(10) depending on parameters indicated by the device in the block limits VPD. Extract unmap constraints and report them to the block layer. Based in part by a patch by Christoph Hellwig . Signed-off-by: Martin K. Petersen Signed-off-by: James Bottomley --- Reading git-diff-tree failed