use io_complete var to avoid the rbd_aio_is_complete lock and context switch
[fio.git] / backend.c
index 941a3ead9b63acfc07170f04d9a83f02c072d30b..d19d870f8143d985882841af68a0a94c056f7e35 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -1981,7 +1981,7 @@ static void wait_for_helper_thread_exit(void)
 {
        void *ret;
 
-       disk_util_start_exit();
+       helper_exit = 1;
        pthread_cond_signal(&helper_cond);
        pthread_join(helper_thread, &ret);
 }