Mike Snitzer a79245b3e5 dm: split discard requests on target boundaries
Update __clone_and_map_discard to loop across all targets in a DM
device's table when it processes a discard bio.  If a discard crosses a
target boundary it must be split accordingly.

Update __issue_target_requests and __issue_target_request to allow a
cloned discard bio to have a custom start sector and size.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2010-08-12 04:14:24 +01:00
..
2006-01-01 22:21:50 +01:00
2010-08-12 04:14:11 +01:00
2010-08-12 04:14:13 +01:00
2010-08-12 04:14:05 +01:00
2010-08-12 04:14:11 +01:00
2010-08-12 04:14:11 +01:00
2010-08-12 04:14:08 +01:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2010-08-12 04:14:08 +01:00