From: Jens Axboe Date: Mon, 26 Feb 2007 09:22:31 +0000 (+0100) Subject: syslet v4 support X-Git-Tag: fio-1.12~11 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=7756b0d046ef74c32df134c8b716237cc5e16bad;hp=4d2e0f49006af315ec8653008938bc51f2a0ddac syslet v4 support Signed-off-by: Jens Axboe --- 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)