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)
committerMike Snitzer <snitzer@redhat.com>
Fri, 7 Dec 2018 21:04:22 +0000 (16:04 -0500)
commit89f5fa47476eda56402e29fff3c5097f5c2a1e19
treed32383c26fc1a0cc0f7ae31b1ea7be3de723115a
parent687cf4412a343a63928a5c9d91bdc0f522939d43
dm: call blk_queue_split() to impose device limits on bios

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>
drivers/md/dm.c