]>
git.proxmox.com Git - ceph.git/blob - ceph/src/tools/rbd_ggate/Watcher.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 #ifndef CEPH_RBD_GGATE_WATCHER_H
5 #define CEPH_RBD_GGATE_WATCHER_H
7 #include "include/rbd/librbd.hpp"
14 class Watcher
: public librbd::UpdateWatchCtx
17 Watcher(Driver
*m_drv
, librados::IoCtx
&ioctx
, librbd::Image
&image
,
20 void handle_notify() override
;
24 librados::IoCtx
&m_ioctx
;
25 librbd::Image
&m_image
;
33 #endif // CEPH_RBD_GGATE_WATCHER_H