projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
f271a3f
)
Merge branch 'master' of https://github.com/dublio/fio
author
Jens Axboe
<axboe@kernel.dk>
Mon, 31 Jul 2017 14:15:17 +0000
(08:15 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 31 Jul 2017 14:15:17 +0000
(08:15 -0600)
filesetup.c
patch
|
blob
|
blame
|
history
diff --git
a/filesetup.c
b/filesetup.c
index 839aefc33752e28c7a8e7a628593f9f8f758066f..0e5599ab16502e9541023af6028e9814f366a844 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-146,6
+146,8
@@
static int extend_file(struct thread_data *td, struct fio_file *f)
flags |= O_CREAT;
if (new_layout)
flags |= O_TRUNC;
+ if (td->o.odirect)
+ flags |= OS_O_DIRECT;
#ifdef WIN32
flags |= _O_BINARY;