]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: unwatch is a mutation, not a read
authorSage Weil <sage@inktank.com>
Thu, 21 Feb 2013 21:28:47 +0000 (13:28 -0800)
committerSage Weil <sage@inktank.com>
Thu, 21 Feb 2013 21:28:47 +0000 (13:28 -0800)
commitfea77682a6cf9c7571573bc9791c03373d1d976d
tree1b42d75f122e9358a5a55cbc791c4a2704ff7b8c
parent4277265d99647c9fe950ba627e5d86234cfd70a9
osdc/Objecter: unwatch is a mutation, not a read

This was causing librados to unblock after the ACK on unwatch, which meant
that librbd users raced and tried to delete the image before the unwatch
change was committed..and got EBUSY.  See #3958.

The watch operation has a similar problem.

Signed-off-by: Sage Weil <sage@inktank.com>
src/librados/IoCtxImpl.cc