Skip to content
Commit 568c73a3 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: update dm_process_bio() to split bio if in ->make_request_fn()



Must call blk_queue_split() otherwise queue_limits for abnormal requests
(e.g. discard, writesame, etc) won't be imposed.

In addition, add dm_queue_split() to simplify DM specific splitting that
is needed for targets that impose ti->max_io_len.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 4ae280b4
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