dm: fix dm_wq_work() to only use __split_and_process_bio() if appropriate
mainline inclusion from mainline-5.0-rc4 commit 6548c7c538e5658cbce686c2dd1a9b4f5398bf34 category: bugfix bugzilla: 7220 CVE: NA --------------------------- Otherwise targets that don't support/expect IO splitting could resubmit bios using code paths with unnecessary IO splitting complexity. Depends-on: 24113d487843 ("dm: avoid indirect call in __dm_make_request") Fixes: 978e51ba ("dm: optimize bio-based NVMe IO submission") Signed-off-by: NMike Snitzer <snitzer@redhat.com> Signed-off-by: Nyangerkun <yangerkun@huawei.com> Reviewed-by: NHou Tao <houtao1@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录