]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librados: refactor watch/notify; return notify error code
authorSage Weil <sage@redhat.com>
Wed, 13 Aug 2014 00:40:36 +0000 (17:40 -0700)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:19 +0000 (01:34 +0100)
commit69612e7519f9fa73d6ac1c6358bfeac33e998774
tree93b8d9e1e0d431eb87dc9ae5d235064fd6668ade
parente4e7a18024910fe3cda89ed2d868ceb26c581168
librados: refactor watch/notify; return notify error code

Get rid of a level of intermediate classes with confusing names and put
the notify and notify finish logic in a single place so that it is easier
to follow and understand.

Pass the return value from the notify completion message to the caller.

Signed-off-by: Sage Weil <sage@redhat.com>
src/librados/IoCtxImpl.cc
src/librados/IoCtxImpl.h
src/librados/RadosClient.cc
src/librados/RadosClient.h
src/test/librados/watch_notify.cc