summaryrefslogtreecommitdiff
path: root/drivers/md/dm-cache-target.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2019-01-18 14:10:37 -0500
committerMike Snitzer <snitzer@redhat.com>2019-02-19 12:25:00 -0500
commit568c73a355e0b845dc983aa59c8a8dc69294b275 (patch)
treeef4d51e21e1bfb71bf024e4cbe629fcde96daafb /drivers/md/dm-cache-target.c
parent4ae280b4ee3463fa57bbe6eede26b97daff8a0f1 (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>
Diffstat (limited to 'drivers/md/dm-cache-target.c')
0 files changed, 0 insertions, 0 deletions