syslet v4 support
authorJens Axboe <jens.axboe@oracle.com>
Mon, 26 Feb 2007 09:22:31 +0000 (10:22 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 26 Feb 2007 09:22:31 +0000 (10:22 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/syslet-rw.c
os-linux.h

index 74a6b31145167c00be9c6d9cadb974a3d69c43d5..2a3095d405c7f0a80ef773877e24acbcdb0009f9 100644 (file)
@@ -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)
 static void cachemiss_thread_start(void)
 {
        while (1)
-               async_thread();
+               async_thread(NULL, NULL);
 }
 
 #define THREAD_STACK_SIZE (16384)
 }
 
 #define THREAD_STACK_SIZE (16384)
index b147d4f3b340c0fd2bb5f352b469beb97e6b57e7..549694a468081b31208486dbf4605191dd054fa5 100644 (file)
@@ -102,9 +102,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)