diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2012-09-18 18:19:31 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-14 06:23:53 +0100 |
commit | 26e85fcd15f68b57d9ba645cd3591117a8ac0e05 (patch) | |
tree | 5dcb12ddd18e8ced5707239cdb0da6feaf3c9c80 /drivers/usb/storage/scsiglue.c | |
parent | [SCSI] Add a report opcode helper (diff) | |
download | linux-26e85fcd15f68b57d9ba645cd3591117a8ac0e05.tar.xz linux-26e85fcd15f68b57d9ba645cd3591117a8ac0e05.zip |
[SCSI] sd: Permit merged discard requests
Support requests with more than one bio payload for discards. The total
number of bytes to be discarded is stored in req->__data_len and used in
sd_done() to complete the I/O.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/usb/storage/scsiglue.c')
0 files changed, 0 insertions, 0 deletions