iolog: fix disk stats issue
authoryonggang.yyg <yygcode@gmail.com>
Wed, 20 Mar 2024 16:10:03 +0000 (00:10 +0800)
committeryonggang.yyg <yygcode@gmail.com>
Fri, 22 Mar 2024 14:31:01 +0000 (22:31 +0800)
commitc492cb1a9b1c327e985c89eb517d58bd5323880c
treef8ed0a506410584769c2300d810b2aa66f84ba70
parent40e5f1bf1aca5970528724873a4544c43712a75d
iolog: fix disk stats issue

In the iolog replay scenario, the disk util in the td structure is
not initialized, resulting in the disk stats not being correctly
updated.

Fixes: https://github.com/axboe/fio/issues/1735

Signed-off-by: Yong Gang <yygcode@gmail.com>
iolog.c