]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit189c1be8aaa251d006a8456a65a2c8417d8a5ce4
treecb9aba961eb59c75c4a8a848542a7a22ac5654fc
parentc809692e531b3386d302c0cdf097114a9e6692da
md: revert io stats accounting

The commit 64494d2bcc5d ("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: 64494d2bcc5d ("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