]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
journal: new ObjectRecorder closed callback
authorJason Dillaman <dillaman@redhat.com>
Sat, 14 May 2016 22:13:38 +0000 (18:13 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 20 May 2016 00:28:57 +0000 (20:28 -0400)
commit27fba6ad7e7cb566d32c6e63f35aff966fc60bd7
treef61c4776a052cbfbe07eee323f65434405bec418
parent870c21c738e42d2cf34478bfa0631d602175dadc
journal: new ObjectRecorder closed callback

The callback will be invoked if there were in-flight appends
when the close was requested.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit bba91437dbe3b7a9b6da8a61ccc4c597858c8efc)
src/journal/JournalRecorder.cc
src/journal/JournalRecorder.h
src/journal/ObjectRecorder.cc
src/journal/ObjectRecorder.h
src/test/journal/test_ObjectRecorder.cc