]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/librbd/ImageWatcher.h
import 15.2.5
[ceph.git] / ceph / src / librbd / ImageWatcher.h
index 1ae54d80bfd4b5fd099762323f6bc97c93467030..2d97467617e8dfb3f8ad219bee324e7780517bfb 100644 (file)
@@ -5,6 +5,7 @@
 #define CEPH_LIBRBD_IMAGE_WATCHER_H
 
 #include "cls/rbd/cls_rbd_types.h"
+#include "common/AsyncOpTracker.h"
 #include "common/ceph_mutex.h"
 #include "include/Context.h"
 #include "include/rbd/librbd.hpp"
@@ -171,6 +172,8 @@ private:
   ceph::mutex m_owner_client_id_lock;
   watch_notify::ClientId m_owner_client_id;
 
+  AsyncOpTracker m_async_op_tracker;
+
   void handle_register_watch(int r);
 
   void schedule_cancel_async_requests();