Signed-off-by: Sage Weil <sage@redhat.com>
break;
case CEPH_MSG_WATCH_NOTIFY:
- watch_notify(static_cast<MWatchNotify *>(m));
+ handle_watch_notify(static_cast<MWatchNotify *>(m));
break;
case MSG_LOG:
}
};
-void librados::RadosClient::watch_notify(MWatchNotify *m)
+void librados::RadosClient::handle_watch_notify(MWatchNotify *m)
{
Mutex::Locker l(lock);
map<uint64_t, WatchContext *>::iterator iter = watchers.find(m->cookie);
void register_watch_notify_callback(librados::WatchContext *wc,
uint64_t *cookie);
void unregister_watch_notify_callback(uint64_t cookie);
- void watch_notify(MWatchNotify *m);
+ void handle_watch_notify(MWatchNotify *m);
int mon_command(const vector<string>& cmd, const bufferlist &inbl,
bufferlist *outbl, string *outs);
int mon_command(int rank,