dm: revert partial fix for redundant bio-based IO accounting
authorMike Snitzer <snitzer@redhat.com>
Fri, 28 Jan 2022 15:58:40 +0000 (10:58 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Feb 2022 16:27:03 +0000 (17:27 +0100)
commit86125006d88dae6945d557059336319b76f2287c
treeb96980084b5bcfe2875e80d22348fb34180f5259
parentc0af639c1adc50296e25c7754f3269c724268efa
dm: revert partial fix for redundant bio-based IO accounting

commit f524d9c95fab54783d0038f7a3e8c014d5b56857 upstream.

Reverts a1e1cb72d9649 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm.c