projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extend --sync to allow {sync,dsync,0,1}, to support O_DSYNC
[fio.git]
/
engines
/
ime.c
diff --git
a/engines/ime.c
b/engines/ime.c
index 42984021ec9e808e39df9aa33c1faf23a169a4d9..440cc29e8e31bcfc9e0ce7a81a59410698925412 100644
(file)
--- a/
engines/ime.c
+++ b/
engines/ime.c
@@
-194,8
+194,7
@@
static int fio_ime_open_file(struct thread_data *td, struct fio_file *f)
}
if (td->o.odirect)
flags |= O_DIRECT;
- if (td->o.sync_io)
- flags |= O_SYNC;
+ flags |= td->o.sync_io;
if (td->o.create_on_open && td->o.allow_create)
flags |= O_CREAT;