diff options
author | Mike Snitzer <snitzer@redhat.com> | 2020-09-18 20:22:30 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-09-29 16:33:02 -0400 |
commit | 5091cdec56faeaefa79de4b6cb3c3c55e50d1ac3 (patch) | |
tree | ce40f8d6273f7e5faf8ac67bc17b736d07d9f715 /drivers/md/dm-bio-prison-v1.c | |
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>
Diffstat (limited to 'drivers/md/dm-bio-prison-v1.c')
0 files changed, 0 insertions, 0 deletions