Skip to content
Commit 3720281d authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: optimize max_io_len() by inlining max_io_len_target_boundary()



Saves redundant dm_target_offset() math.

Also, reverse argument order for max_io_len() to be consistent with
other similar functions.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 094ee64d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment