projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When opening a new file, check file limit not total number
[fio.git]
/
os-linux.h
diff --git
a/os-linux.h
b/os-linux.h
index b147d4f3b340c0fd2bb5f352b469beb97e6b57e7..84919539e7a711e6c7d724705314a2c6e03d707b 100644
(file)
--- a/
os-linux.h
+++ b/
os-linux.h
@@
-20,13
+20,6
@@
#define FIO_HAVE_ODIRECT
#define FIO_HAVE_HUGETLB
#define FIO_HAVE_ODIRECT
#define FIO_HAVE_HUGETLB
-/*
- * Only for x86 currently
- */
-#if defined(__i386__)
-#define FIO_HAVE_SYSLET
-#endif
-
#define OS_MAP_ANON (MAP_ANONYMOUS)
typedef cpu_set_t os_cpu_mask_t;
#define OS_MAP_ANON (MAP_ANONYMOUS)
typedef cpu_set_t os_cpu_mask_t;
@@
-102,9
+95,9
@@
async_wait(unsigned long min_wait_events, unsigned long user_ring_idx,
user_ring_idx, ahu);
}
user_ring_idx, ahu);
}
-static inline long async_thread(void)
+static inline long async_thread(void
*event, struct async_head_user *ahu
)
{
{
- return syscall(__NR_async_thread);
+ return syscall(__NR_async_thread
, event, ahu
);
}
static inline long umem_add(unsigned long *uptr, unsigned long inc)
}
static inline long umem_add(unsigned long *uptr, unsigned long inc)