]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: helper methods to allocate tags associated to remote journals
authorJason Dillaman <dillaman@redhat.com>
Tue, 22 Mar 2016 02:01:05 +0000 (22:01 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 29 Mar 2016 19:12:29 +0000 (15:12 -0400)
commit7d10eb01c0f4dfedd153f492f06451ea2bcdda60
tree2731e6cba7aeb2b1f58ab13fbb5e8be32689d5e2
parent0f99d88dc9acc653cfc968ff2a159c36aacb95fe
librbd: helper methods to allocate tags associated to remote journals

Allocating tags for the local journal will always be based off the local
commit position.  For remote journals, the local commit position doesn't
reflect actual events replayed by rbd-mirror, so it needs to provide the
remote journal commit position.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/Journal.cc
src/librbd/Journal.h
src/librbd/journal/StandardPolicy.cc