]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librados: move watch/notify into the Objecter
authorSage Weil <sage@redhat.com>
Sun, 16 Nov 2014 21:44:08 +0000 (13:44 -0800)
committerSage Weil <sage@redhat.com>
Thu, 4 Dec 2014 18:34:05 +0000 (10:34 -0800)
commite72035f3f5bc2eb2b6d16a5cad4b691ec638fa5e
treecf6569820c81a7e86810c4b60a4691d1ea7ae787
parentcd6a4aa9ee5d2b3567bde105f3928764ebd68cca
librados: move watch/notify into the Objecter

Several things here:
 - we move all of the junk from librados' RadosClient into Objecter
 - we use fast-dispatch to schedule the watch-notify events (this will
   keep them ordered wrt ping)
 - we use the LingerOp * as the librados-exposed handle so that we can
   avoid any lookups for watch-check.

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/osdc/Objecter.cc
src/osdc/Objecter.h