dm: call blk_queue_split() to impose device limits on bios
authorMike Snitzer <snitzer@redhat.com>
Mon, 3 Dec 2018 21:47:21 +0000 (16:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Dec 2018 18:19:52 +0000 (19:19 +0100)
commitb543b5c0ac1c78c81f1ab3270d9464f6f45fd09e
tree28d5688abd0333790823e930e249d9eee537ee1f
parent09bc666fb4112d0e4482fdf0abcd7352601a159c
dm: call blk_queue_split() to impose device limits on bios

commit 89f5fa47476eda56402e29fff3c5097f5c2a1e19 upstream.

Otherwise the incoming bios, of various types, won't be shaped based on
the DM device's advertised limits.

Depends-on: af67c31fba ("blk: remove bio_set arg from blk_queue_split()")
Fixes: 744889b7cb ("block: don't deal with discard limit in blkdev_issue_discard()")
Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm.c