dm: revert partial fix for redundant bio-based IO accounting
mainline inclusion from mainline-v5.17-rc2 commit f524d9c9 category: bugfix bugzilla: 189706, https://gitee.com/openeuler/kernel/issues/I9BD67 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f524d9c95fab54783d0038f7a3e8c014d5b56857 -------------------------------- Reverts a1e1cb72 ("dm: fix redundant IO accounting for bios that need splitting") because it was too narrow in scope (only addressed redundant 'sectors[]' accounting and not ios, nsecs[], etc). Cc: stable@vger.kernel.org Signed-off-by:Mike Snitzer <snitzer@redhat.com> Link: https://lore.kernel.org/r/20220128155841.39644-3-snitzer@redhat.com Signed-off-by:
Jens Axboe <axboe@kernel.dk> Conflict: drivers/md/dm.c Context changed, do not affect the logic of the code. Signed-off-by:
Li Nan <linan122@huawei.com>
Loading
Please sign in to comment