]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid10: enable io accounting
authorGuoqing Jiang <jgq516@gmail.com>
Tue, 25 May 2021 09:46:22 +0000 (17:46 +0800)
committerSong Liu <song@kernel.org>
Tue, 15 Jun 2021 05:32:07 +0000 (22:32 -0700)
commit47cd73a000a70cd625846872774e3e57190a6892
treee0e58a2b431cf7d8c4590598ae400632a60520e7
parente206b1042399ee048face91dd22ff46540e5f74c
md/raid10: enable io accounting

For raid10, we record the start time between split bio and clone bio,
and finish the accounting in the final endio.

Also introduce start_time in r10bio accordingly.

Signed-off-by: Guoqing Jiang <jiangguoqing@kylinos.cn>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/raid10.c
drivers/md/raid10.h