Skip to content
Snippets Groups Projects
Commit 5091cdec authored by Mike Snitzer's avatar Mike Snitzer
Browse files

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: default avatarMike Snitzer <snitzer@redhat.com>
parent 882ec4e6
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment