From 95625c6d5ad7a4428ebbf55230016136054c7e44 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Thu, 14 May 2020 12:54:11 -0400 Subject: [PATCH] engines/rados: fix build issue with thread_cond_t vs pthread_cond_t The Travis-CI Linux build fails because the type for completed_more_io was changed from pthread_cond_t to thread_cond_t: https://travis-ci.org/github/axboe/fio/jobs/687073515 Change it back to pthread_cond_t. Fixes: 1e30d8d005a568169c0749f5fc6fb2d5f09dcc97 ("engines/rados: Added waiting for completion on cleanup.") Signed-off-by: Vincent Fu --- engines/rados.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/rados.c b/engines/rados.c index 6bcba2b8..d4413427 100644 --- a/engines/rados.c +++ b/engines/rados.c @@ -17,7 +17,7 @@ struct rados_data { struct io_u **aio_events; bool connected; pthread_mutex_t completed_lock; - thread_cond_t completed_more_io; + pthread_cond_t completed_more_io; struct flist_head completed_operations; uint64_t ops_scheduled; uint64_t ops_completed; -- 2.25.1