projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ea6ec7
)
libfio: drop unneeded reset of rwmix_issues
author
Vincent Fu
<vincent.fu@samsung.com>
Fri, 3 Dec 2021 21:10:10 +0000
(21:10 +0000)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 3 Dec 2021 21:46:33 +0000
(14:46 -0700)
We don't need to repeatedly reset rwmix_issues inside a loop. We
actually don't need to reset it at all inside reset_all_stats() because
this is already done in reset_io_counters().
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
Link:
https://lore.kernel.org/r/20211203211050.51241-3-vincent.fu@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
libfio.c
patch
|
blob
|
blame
|
history
diff --git
a/libfio.c
b/libfio.c
index ed5906d4c2d3d80d70ca5f806662c216224e8544..198eaf2eb723f744cbc279cd3dff51a1be64bd00 100644
(file)
--- a/
libfio.c
+++ b/
libfio.c
@@
-140,7
+140,6
@@
void reset_all_stats(struct thread_data *td)
td->io_issues[i] = 0;
td->ts.total_io_u[i] = 0;
td->ts.runtime[i] = 0;
- td->rwmix_issues = 0;
}
set_epoch_time(td, td->o.log_unix_epoch);