]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: add on_finish to OpContext
authorSage Weil <sage@inktank.com>
Tue, 4 Feb 2014 06:10:07 +0000 (22:10 -0800)
committerSage Weil <sage@inktank.com>
Sun, 16 Feb 2014 06:09:37 +0000 (22:09 -0800)
commitfc28a99f55626fcc22a5e50403a90c8ec571b561
tree30e18d367b87585bc4fb76312e5cd81f1ee9f515
parenta57052cb7bee37451b86f73ee6498bac823c7e2d
osd/ReplicatedPG: add on_finish to OpContext

Add a callback hook for whenever an OpContext completes or cancels.  We
are pretty sloppy here about the return values because our initial user
will not care, and it is unclear if future users will.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h