commit | 26e85fcd15f68b57d9ba645cd3591117a8ac0e05 | [log] [tgz] |
---|---|---|
author | Martin K. Petersen <martin.petersen@oracle.com> | Tue Sep 18 12:19:31 2012 -0400 |
committer | James Bottomley <JBottomley@Parallels.com> | Tue Nov 13 21:23:53 2012 -0800 |
tree | 5dcb12ddd18e8ced5707239cdb0da6feaf3c9c80 | |
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>