summaryrefslogtreecommitdiff
path: root/drivers/md/raid10.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-06-21 19:51:07 +0300
committerSong Liu <song@kernel.org>2023-07-27 10:13:29 +0300
commit820455238366a78a44a85cc7d58a987e728464d9 (patch)
treeae0957e9cbf904b049407074a68c13392bfcd120 /drivers/md/raid10.h
parentbb2a9acefaf9ce5bbc1e70f407e34599233d0243 (diff)
downloadlinux-820455238366a78a44a85cc7d58a987e728464d9.tar.xz
md/raid10: switch to use md_account_bio() for io accounting
Make sure that 'active_io' will represent inflight io instead of io that is dispatching, and io accounting from all levels will be consistent. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Xiao Ni <xni@redhat.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230621165110.1498313-6-yukuai1@huaweicloud.com
Diffstat (limited to 'drivers/md/raid10.h')
-rw-r--r--drivers/md/raid10.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/raid10.h b/drivers/md/raid10.h
index 63e48b11b552..2e75e88d0802 100644
--- a/drivers/md/raid10.h
+++ b/drivers/md/raid10.h
@@ -123,7 +123,6 @@ struct r10bio {
sector_t sector; /* virtual sector number */
int sectors;
unsigned long state;
- unsigned long start_time;
struct mddev *mddev;
/*
* original bio going to /dev/mdx