diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2012-09-18 12:19:31 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-13 21:23:53 -0800 |
commit | 26e85fcd15f68b57d9ba645cd3591117a8ac0e05 (patch) | |
tree | 5dcb12ddd18e8ced5707239cdb0da6feaf3c9c80 /drivers/scsi/scsi_lib.c | |
parent | 3c6bdaeab4fda6c9fdd5f3f5c610dea97bddf7d6 (diff) |
[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/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions