diff options
author | Guoqing Jiang <jgq516@gmail.com> | 2021-05-25 17:46:16 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2021-06-14 22:32:06 -0700 |
commit | ad3fc798800fb7ca04c1dfc439dba946818048d8 (patch) | |
tree | cb9aba961eb59c75c4a8a848542a7a22ac5654fc /drivers/md/md.h | |
parent | d07f3b081ee632268786601f55e1334d1f68b997 (diff) | |
download | linux-ad3fc798800fb7ca04c1dfc439dba946818048d8.tar.bz2 |
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>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index fb7eab58cfd5..4da240ffe2c5 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -487,7 +487,6 @@ struct mddev { struct bio_set sync_set; /* for sync operations like * metadata and bitmap writes */ - mempool_t md_io_pool; /* Generic flush handling. * The last to finish preflush schedules a worker to submit |