Mike Snitzer 56a67df766 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>
2010-08-12 04:14:10 +01:00
..
2010-08-12 04:14:07 +01:00
2010-08-12 04:14:05 +01:00
2010-08-12 04:14:08 +01:00
2010-08-12 04:14:08 +01:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:10 +01:00
2010-08-12 04:14:08 +01:00