]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: remove warning
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 31 Mar 2014 23:06:20 +0000 (16:06 -0700)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:33:52 +0000 (01:33 +0100)
Seems that the current locking scheme is ok. Objecter handles its
locking internally, librados needs to hold its lock.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/librados/IoCtxImpl.cc

index f87a032d324d26d8a8a673eb65c85994b5cf4a7f..86fa9a8c332c043d5834799ecbc281421bb9be0d 100644 (file)
@@ -1007,8 +1007,6 @@ int librados::IoCtxImpl::watch(const object_t& oid, uint64_t ver,
 
   lock->Lock();
 
-#warning watch related locking?
-
   WatchContext *wc = new WatchContext(this, oid, ctx);
   client->register_watcher(wc, cookie);
   prepare_assert_ops(&wr);