projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fixbug_glfs' of https://github.com/simon-rock/fio
[fio.git]
/
libfio.c
diff --git
a/libfio.c
b/libfio.c
index 74de7351a9a8244db061e5511d9f28d6bd826641..6faf32a4e918158cc19a7196a28098c93e7bb111 100644
(file)
--- a/
libfio.c
+++ b/
libfio.c
@@
-23,7
+23,6
@@
*/
#include <string.h>
*/
#include <string.h>
-#include <sys/types.h>
#include <signal.h>
#include <stdint.h>
#include <locale.h>
#include <signal.h>
#include <stdint.h>
#include <locale.h>
@@
-98,7
+97,7
@@
static void reset_io_counters(struct thread_data *td, int all)
td->zone_bytes = 0;
td->zone_bytes = 0;
- td->last_was_sync =
0
;
+ td->last_was_sync =
false
;
td->rwmix_issues = 0;
/*
td->rwmix_issues = 0;
/*
@@
-230,7
+229,7
@@
void fio_mark_td_terminate(struct thread_data *td)
{
fio_gettime(&td->terminate_time, NULL);
write_barrier();
{
fio_gettime(&td->terminate_time, NULL);
write_barrier();
- td->terminate =
1
;
+ td->terminate =
true
;
}
void fio_terminate_threads(unsigned int group_id)
}
void fio_terminate_threads(unsigned int group_id)