summaryrefslogtreecommitdiff
path: root/drivers/md/dm-bio-prison-v1.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2020-09-18 20:22:30 -0400
committerMike Snitzer <snitzer@redhat.com>2020-09-29 16:33:02 -0400
commit5091cdec56faeaefa79de4b6cb3c3c55e50d1ac3 (patch)
treece40f8d6273f7e5faf8ac67bc17b736d07d9f715 /drivers/md/dm-bio-prison-v1.c
parent882ec4e609c1a6de1836e765905f62de1502ae1e (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