commit | 568c73a355e0b845dc983aa59c8a8dc69294b275 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Fri Jan 18 14:10:37 2019 -0500 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Feb 19 12:25:00 2019 -0500 |
tree | ef4d51e21e1bfb71bf024e4cbe629fcde96daafb | |
parent | 4ae280b4ee3463fa57bbe6eede26b97daff8a0f1 [diff] |
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: Mike Snitzer <snitzer@redhat.com>