diff options
author | Mike Snitzer <snitzer@redhat.com> | 2010-08-12 04:14:24 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2010-08-12 04:14:24 +0100 |
commit | a79245b3e5669dc203fec63644d988c451fe55d5 (patch) | |
tree | 8814720781708a95ac0bd23bb5232aa5ed9337bd /fs/pnode.c | |
parent | c96053b767d494d7c30e2be68097ac9defa9403f (diff) | |
download | op-kernel-dev-a79245b3e5669dc203fec63644d988c451fe55d5.zip op-kernel-dev-a79245b3e5669dc203fec63644d988c451fe55d5.tar.gz |
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>
Diffstat (limited to 'fs/pnode.c')
0 files changed, 0 insertions, 0 deletions