md: revert io stats accounting
authorGuoqing Jiang <jgq516@gmail.com>
Tue, 25 May 2021 09:46:16 +0000 (17:46 +0800)
committerSong Liu <song@kernel.org>
Tue, 15 Jun 2021 05:32:06 +0000 (22:32 -0700)
commitad3fc798800fb7ca04c1dfc439dba946818048d8
treecb9aba961eb59c75c4a8a848542a7a22ac5654fc
parentd07f3b081ee632268786601f55e1334d1f68b997
md: revert io stats accounting

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