commit | 3720281db9ad4905c3afc1bf389314d64e145093 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Sat Sep 19 13:12:48 2020 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Sep 29 16:33:04 2020 -0400 |
tree | 48db4440859ad67533ec886e6d9e1af0e46b2c8e | |
parent | 094ee64d7de8ab72b495ff9c03d86a60272da56d [diff] |
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: Mike Snitzer <snitzer@redhat.com>