]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Jan 2022 19:28:15 +0000 (12:28 -0700)
commitf524d9c95fab54783d0038f7a3e8c014d5b56857
treee140869495559d54d73f807de5d8d3da610107a7
parente45c47d1f94e0cc7b6b079fdb4bcce2995e2adc4
dm: revert partial fix for redundant bio-based IO accounting

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