Skip to content

Commit

Permalink
[PATCH] iolog: fix disk stats issue
Browse files Browse the repository at this point in the history
The disk util structure of the td does not initialized when
iolog replay, and the disk stats is the initial value.

Signed-off-by: yonggang.yyg <yygcode@gmail.com>
  • Loading branch information
yygcode committed Mar 20, 2024
1 parent 40e5f1b commit 0433ff3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iolog.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ int init_iolog(struct thread_data *td)
if (ret)
td_verror(td, EINVAL, "failed initializing iolog");

init_disk_util(td);

return ret;
}

Expand Down

0 comments on commit 0433ff3

Please sign in to comment.