]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: separate ::notify return values
authorJohn Spray <john.spray@redhat.com>
Fri, 15 Aug 2014 00:28:28 +0000 (01:28 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:19 +0000 (01:34 +0100)
commite7845862fa5b48c6e6db223e20d47d31d4c574c1
treec3e78798ea9d3ea1464f282f568d709a82ed03cd
parent6f3bb55a3d52403c1910f576ed835aa73013ca50
librados: separate ::notify return values

There is a return code from objecter for committing
the notify linger op, and then later a code in the
CEPH_MSG_WATCH_NOTIFY handled by RadosClient directly.
Afaict there isn't any nice ordering guarantee here,
so they could stamp on each other.  Use a SaferCond
for the submit one.

I don't think this was related to #9112 but while
I'm here...

Signed-off-by: John Spray <john.spray@redhat.com>
src/librados/IoCtxImpl.cc
src/librados/RadosClient.cc