On Wed, Jan 12, 2022 at 06:26:44PM +0100, Guillaume Morin wrote: > commit ad3fc798800fb7ca04c1dfc439dba946818048d8 upstream. > > 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@xxxxxxxxx/T/#t > > Fixes: 41d2d848e5c0 ("md: improve io stats accounting") > Signed-off-by: Guoqing Jiang <jiangguoqing@xxxxxxxxxx> > Signed-off-by: Song Liu <song@xxxxxxxxxx> > [GM: backport to 5.10-stable] > Signed-off-by: Guillaume Morin <guillaume@xxxxxxxxxxx> > --- > drivers/md/md.c | 57 +++++++++++-------------------------------------- > drivers/md/md.h | 1 - > 2 files changed, 12 insertions(+), 46 deletions(-) Now queued up, thanks. greg k-h