projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable preadv2/pwritev2 engines by default on Linux
[fio.git]
/
arch
/
arch-x86_64.h
diff --git
a/arch/arch-x86_64.h
b/arch/arch-x86_64.h
index 8f33fc541ee6f266e96f9f507ccc3782d618392c..21da4125559e392e59ba5c0e4e8bfe75e7ee0a59 100644
(file)
--- a/
arch/arch-x86_64.h
+++ b/
arch/arch-x86_64.h
@@
-36,6
+36,14
@@
static inline void do_cpuid(unsigned int *eax, unsigned int *ebx,
#define __NR_shmdt 67
#endif
+#ifndef __NR_preadv2
+#define __NR_preadv2 327
+#endif
+#ifndef __NR_pwritev2
+#define __NR_pwritev2 328
+#endif
+
+
#define FIO_HUGE_PAGE 2097152
#define nop __asm__ __volatile__("rep;nop": : :"memory")