]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: track if a mirror image resync has been requested
authorJason Dillaman <dillaman@redhat.com>
Tue, 15 Mar 2016 20:20:20 +0000 (16:20 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 16 Mar 2016 00:38:34 +0000 (20:38 -0400)
commitd1a6c7c4c9ef86adfe19af656ce04bddc9d389fd
treed7b920842ea5a4e97ac3b08b0a79c5bd7cf53b1a
parent353f895ac3281a888f92877b435ec2c8571d0b71
librbd: track if a mirror image resync has been requested

A secondary image will store its resync request to the primary
image's journal. When the local rbd mirror process detects the
flag being set, it can initiate a resync from the remote.

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