#include "include/rbd/librbd.hpp"
#include "include/xlist.h"
-#include "common/Cond.h"
-#include "common/Mutex.h"
+#include "common/ceph_mutex.h"
#include "common/Thread.h"
namespace rbd {
Driver *m_drv;
librbd::Image &m_image;
- mutable Mutex m_lock;
- Cond m_cond;
+ mutable ceph::mutex m_lock =
+ ceph::make_mutex("rbd::ggate::Server::m_lock");
+ ceph::condition_variable m_cond;
bool m_stopping = false;
ThreadHelper m_reader_thread, m_writer_thread;
xlist<IOContext*> m_io_pending;