]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librdb: initial interface with journal library
authorJason Dillaman <dillaman@redhat.com>
Fri, 10 Jul 2015 01:25:33 +0000 (21:25 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 13 Nov 2015 04:26:25 +0000 (23:26 -0500)
commit03636c93eeafa049a80b6b88cf3140b77d52b021
treed918b1a4f21f036da9a17cd5d16c343be1c693c3
parentbe9d26f57443a52649c5c3d8f9034d9117ff36c5
librdb: initial interface with journal library

Rough draft of journal library integration within librbd. Non-cached
IO paths are now recorded to the journal.  Incoming IO ops are blocked
if the exclusive lock isn't held or if the journal hasn't been replayed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
18 files changed:
src/librbd/AioCompletion.cc
src/librbd/AioCompletion.h
src/librbd/AioImageRequest.cc
src/librbd/AioImageRequest.h
src/librbd/AioImageRequestWQ.cc
src/librbd/AioImageRequestWQ.h
src/librbd/CopyupRequest.cc
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h
src/librbd/Journal.cc [new file with mode: 0644]
src/librbd/Journal.h [new file with mode: 0644]
src/librbd/Makefile.am
src/librbd/ObjectMap.cc
src/librbd/ObjectMap.h
src/librbd/internal.cc
src/test/Makefile-client.am