projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lfsr: add lfsr_reset()
[fio.git]
/
ioengines.c
diff --git
a/ioengines.c
b/ioengines.c
index c2a64cb092786519746ef82111e19bd1a79300fb..a87175a23aa74999999ec18a64edf823e84aff90 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-503,7
+503,7
@@
int do_io_u_sync(struct thread_data *td, struct io_u *io_u)
if (io_u->ddir == DDIR_SYNC) {
ret = fsync(io_u->file->fd);
} else if (io_u->ddir == DDIR_DATASYNC) {
-#ifdef
FIO_HAVE
_FDATASYNC
+#ifdef
CONFIG
_FDATASYNC
ret = fdatasync(io_u->file->fd);
#else
ret = io_u->xfer_buflen;