]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
md: revert io stats accounting
authorGuoqing Jiang <jgq516@gmail.com>
Tue, 25 May 2021 09:46:16 +0000 (17:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:59:41 +0000 (16:59 +0200)
commit27f9d646b165cb0f1d64989b19b50498dff93379
treed4fc019ea23f64db8c6a621b5cfdb4cdacaaa507
parentdb76dc07333e83f81c8152db99cf78d0ac4c46e4
md: revert io stats accounting

[ Upstream commit ad3fc798800fb7ca04c1dfc439dba946818048d8 ]

The commit 41d2d848e5c0 ("md: improve io stats accounting") could cause
double fault problem per the report [1], and also it is not correct to
change ->bi_end_io if md don't own it, so let's revert it.

And io stats accounting will be replemented in later commits.

[1]. https://lore.kernel.org/linux-raid/3bf04253-3fad-434a-63a7-20214e38cf26@gmail.com/T/#t

Fixes: 41d2d848e5c0 ("md: improve io stats accounting")
Signed-off-by: Guoqing Jiang <jiangguoqing@kylinos.cn>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/md.c
drivers/md/md.h