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.h
diff --git
a/arch/arch-x86.h
b/arch/arch-x86.h
index 385a9124ec5ee9ef416201ba6d730b6d3aafd7e1..9471a891c9f0db5ad0cf8fa616e2f4c687fec1dd 100644
(file)
--- a/
arch/arch-x86.h
+++ b/
arch/arch-x86.h
@@
-29,6
+29,13
@@
static inline void do_cpuid(unsigned int *eax, unsigned int *ebx,
#define __NR_sys_vmsplice 316
#endif
+#ifndef __NR_preadv2
+#define __NR_preadv2 378
+#endif
+#ifndef __NR_pwritev2
+#define __NR_pwritev2 379
+#endif
+
#define FIO_HUGE_PAGE 4194304
#define nop __asm__ __volatile__("rep;nop": : :"memory")