From 7756b0d046ef74c32df134c8b716237cc5e16bad Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 26 Feb 2007 10:22:31 +0100 Subject: [PATCH] syslet v4 support Signed-off-by: Jens Axboe --- engines/syslet-rw.c | 2 +- os-linux.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/syslet-rw.c b/engines/syslet-rw.c index 74a6b311..2a3095d4 100644 --- a/engines/syslet-rw.c +++ b/engines/syslet-rw.c @@ -194,7 +194,7 @@ static int fio_syslet_prep(struct thread_data fio_unused *td, struct io_u *io_u) static void cachemiss_thread_start(void) { while (1) - async_thread(); + async_thread(NULL, NULL); } #define THREAD_STACK_SIZE (16384) diff --git a/os-linux.h b/os-linux.h index b147d4f3..549694a4 100644 --- a/os-linux.h +++ b/os-linux.h @@ -102,9 +102,9 @@ async_wait(unsigned long min_wait_events, unsigned long user_ring_idx, 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) -- 2.25.1