class OpsLogFile : public JsonOpsLogSink, public Thread, public DoutPrefixProvider {
CephContext* cct;
- ceph::mutex log_mutex = ceph::make_mutex("OpsLogFile_log");
- ceph::mutex flush_mutex = ceph::make_mutex("OpsLogFile_flush");
+ ceph::mutex mutex = ceph::make_mutex("OpsLogFile");
std::vector<bufferlist> log_buffer;
std::vector<bufferlist> flush_buffer;
- ceph::condition_variable cond_flush;
+ ceph::condition_variable cond;
std::ofstream file;
bool stopped;
uint64_t data_size;