Recent changes (master)

Jens Axboe
2017-08-01T12:00:15Z

The following changes since commit f271a3f2d598b9dd8036543071cad573295d8e8e:

don't print native_fallocate() error if ENOSYS (2017-07-27 14:44:23 -0600)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 2e2b80c58afa2da6cf2e6c792db16757b2244847:

Merge branch 'master' of https://github.com/dublio/fio (2017-07-31 08:15:17 -0600)

----------------------------------------------------------------
Jens Axboe (1):
Merge branch 'master' of https://github.com/dublio/fio

weiping zhang (1):
filesetup: keep OS_O_DIRECT flag when pre-allocating file

filesetup.c | 2 ++
1 file changed, 2 insertions(+)

---

Diff of recent changes:

diff --git a/filesetup.c b/filesetup.c
index 839aefc..0e5599a 100644
--- 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;