projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify RDMA engine to print strerror messages.
[fio.git]
/
libfio.c
diff --git
a/libfio.c
b/libfio.c
index 3aa52e0a592e3537de5e6d57652b1f9f1d3997cd..c626d15c8a6cd5219b94171b91f4bf7a90ecbbb0 100644
(file)
--- a/
libfio.c
+++ b/
libfio.c
@@
-148,6
+148,7
@@
void reset_all_stats(struct thread_data *td)
memcpy(&td->start, &tv, sizeof(tv));
lat_target_reset(td);
memcpy(&td->start, &tv, sizeof(tv));
lat_target_reset(td);
+ clear_rusage_stat(td);
}
void reset_fio_state(void)
}
void reset_fio_state(void)
@@
-189,7
+190,7
@@
static const char *td_runstates[] = {
"REAPED",
};
"REAPED",
};
-
static
const char *runstate_to_name(int runstate)
+const char *runstate_to_name(int runstate)
{
compiletime_assert(TD_LAST == 12, "td runstate list");
if (runstate >= 0 && runstate < TD_LAST)
{
compiletime_assert(TD_LAST == 12, "td runstate list");
if (runstate >= 0 && runstate < TD_LAST)