projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Verify requeue handling
[fio.git]
/
os-linux.h
diff --git
a/os-linux.h
b/os-linux.h
index f094d80ab714fb2c6a43bdeee79822d67d909dad..657a679e23486e0e8e319d3cc10dd8f8a7c635f4 100644
(file)
--- a/
os-linux.h
+++ b/
os-linux.h
@@
-19,7
+19,13
@@
#define FIO_HAVE_IOSCHED_SWITCH
#define FIO_HAVE_ODIRECT
#define FIO_HAVE_HUGETLB
#define FIO_HAVE_IOSCHED_SWITCH
#define FIO_HAVE_ODIRECT
#define FIO_HAVE_HUGETLB
+
+/*
+ * Only for x86 currently
+ */
+#if defined(__i386__)
#define FIO_HAVE_SYSLET
#define FIO_HAVE_SYSLET
+#endif
#define OS_MAP_ANON (MAP_ANONYMOUS)
#define OS_MAP_ANON (MAP_ANONYMOUS)
@@
-74,6
+80,7
@@
static inline int vmsplice(int fd, const struct iovec *iov,
#define SPLICE_DEF_SIZE (64*1024)
#define SPLICE_DEF_SIZE (64*1024)
+#ifdef FIO_HAVE_SYSLET
/*
* syslet stuff
*/
/*
* syslet stuff
*/
@@
-101,6
+108,7
@@
static inline long umem_add(unsigned long *uptr, unsigned long inc)
{
return syscall(__NR_umem_add, uptr, inc);
}
{
return syscall(__NR_umem_add, uptr, inc);
}
+#endif /* FIO_HAVE_SYSLET */
enum {
IOPRIO_WHO_PROCESS = 1,
enum {
IOPRIO_WHO_PROCESS = 1,