commit | 5091cdec56faeaefa79de4b6cb3c3c55e50d1ac3 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Fri Sep 18 20:22:30 2020 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Sep 29 16:33:02 2020 -0400 |
tree | ce40f8d6273f7e5faf8ac67bc17b736d07d9f715 | |
parent | 882ec4e609c1a6de1836e765905f62de1502ae1e [diff] |
dm: change max_io_len() to use blk_max_size_offset() Using blk_max_size_offset() enables DM core's splitting to impose ti->max_io_len (via q->limits.chunk_sectors) and also fallback to respecting q->limits.max_sectors if chunk_sectors isn't set. Signed-off-by: Mike Snitzer <snitzer@redhat.com>