diff options
author | Mike Snitzer <snitzer@redhat.com> | 2010-08-12 05:14:10 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2010-08-12 05:14:10 +0200 |
commit | 56a67df766039666f61fb15b079f713e44a735ae (patch) | |
tree | cfeeb4f0a151b440293da593c723e9982368a58f /drivers/md/dm-linear.c | |
parent | dm: use common __issue_target_request for flush and discard support (diff) | |
download | linux-56a67df766039666f61fb15b079f713e44a735ae.tar.xz linux-56a67df766039666f61fb15b079f713e44a735ae.zip |
dm: factor out max_io_len_target_boundary
Split max_io_len_target_boundary out of max_io_len so that the discard
support can make use of it without duplicating max_io_len code.
Avoiding max_io_len's split_io logic enables DM's discard support to
submit the entire discard request to a target. But discards must still
be split on target boundaries.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-linear.c')
0 files changed, 0 insertions, 0 deletions