Commit 3830dbee authored by Mike Snitzer's avatar Mike Snitzer Committed by Li Nan
Browse files

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: default avatarMike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220128155841.39644-3-snitzer@redhat.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>

Conflict:
	drivers/md/dm.c
	Context changed, do not affect the logic of the code.

Signed-off-by: default avatarLi Nan <linan122@huawei.com>
parent 25bf6ba3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment