diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2009-11-26 12:00:40 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-10 08:54:15 -0600 |
commit | e339c1a7c09ef736dca7b3a4353c7742557d9f8f (patch) | |
tree | 60f7bc7c1867f180262dab01cc8c047967d728cd /drivers/scsi/scsi_lib.c | |
parent | cc9b2e9f6603190c009e5d2629ce8e3f99571346 (diff) | |
download | blackbird-obmc-linux-e339c1a7c09ef736dca7b3a4353c7742557d9f8f.tar.gz blackbird-obmc-linux-e339c1a7c09ef736dca7b3a4353c7742557d9f8f.zip |
[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 <hch@lst.de>.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions