projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc8c5a
)
Fix compile on OSX
author
Jens Axboe
<axboe@fb.com>
Tue, 20 Dec 2016 21:58:06 +0000
(14:58 -0700)
committer
Jens Axboe
<axboe@fb.com>
Tue, 20 Dec 2016 21:58:06 +0000
(14:58 -0700)
And probably other platforms, that don't have the posix fadvise
hints.
Fixes:
ecb2083d3955
("options: full control of fadvise hinting")
Signed-off-by: Jens Axboe <axboe@fb.com>
os/os.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os.h
b/os/os.h
index 16bca6841f0c92270e5ac47150a33254039194bc..4178e6f916f42831ce05bb0d0626b75f763e3c36 100644
(file)
--- a/
os/os.h
+++ b/
os/os.h
@@
-81,6
+81,7
@@
typedef struct aiocb os_aiocb_t;
#define POSIX_FADV_DONTNEED (0)
#define POSIX_FADV_SEQUENTIAL (0)
#define POSIX_FADV_RANDOM (0)
+#define POSIX_FADV_NORMAL (0)
#endif
#ifndef FIO_HAVE_CPU_AFFINITY