From: Casey Bodley Date: Sun, 31 Oct 2021 00:26:21 +0000 (-0400) Subject: rgw: fix debug build of OpsLogFile X-Git-Tag: v17.1.0~549^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=662d29918d49a9b58268ad360d87aa860b2f96e5;p=ceph.git rgw: fix debug build of OpsLogFile can't use ceph::mutex locks with std::condition_variable::wait() in debug builds. use the ceph::condition_variable wrapper instead Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_log.h b/src/rgw/rgw_log.h index 5ee411e8cfaec..a087aa1309806 100644 --- a/src/rgw/rgw_log.h +++ b/src/rgw/rgw_log.h @@ -169,7 +169,7 @@ class OpsLogFile : public JsonOpsLogSink, public Thread, public DoutPrefixProvid ceph::mutex flush_mutex = ceph::make_mutex("OpsLogFile_flush"); std::vector log_buffer; std::vector flush_buffer; - std::condition_variable cond_flush; + ceph::condition_variable cond_flush; std::ofstream file; bool stopped; uint64_t data_size;