projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add 'fsync_on_close' option
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 1cb384570200d5d575201de47da48b1bc08ef92b..cf66ec0e8ee9875ded959cb616be5c633c4e13fc 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-499,6
+499,13
@@
static struct fio_option options[] = {
.help = "Include fsync at the end of job",
.def = "0",
},
+ {
+ .name = "fsync_on_close",
+ .type = FIO_OPT_BOOL,
+ .off1 = td_var_offset(fsync_on_close),
+ .help = "fsync files on close",
+ .def = "0",
+ },
{
.name = "unlink",
.type = FIO_OPT_BOOL,