Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] rbd-mirror: integrate with image sync state machine #8079

Closed
wants to merge 6 commits into from

Commits on Mar 13, 2016

  1. [DNM] squashed commit of dillaman/wip-14413

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Mar 13, 2016
    Copy the full SHA
    de1a63a View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2016

  1. rbd-mirror: helper state machine for closing librbd images

    librbd ImageCtx's cannot be deleted from within the librbd thread.  This
    state machine will perform the deletion from the rbd-mirror work queue
    thread.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Mar 14, 2016
    Copy the full SHA
    559aec2 View commit details
    Browse the repository at this point in the history
  2. rbd-mirror: helper state machine for opening local image

    This state machine will open a local image and request the
    exclusive lock.  If the open or lock fails, it will automatically
    close the image.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Mar 14, 2016
    Copy the full SHA
    f894c90 View commit details
    Browse the repository at this point in the history
  3. rbd-mirror: simple image bootstrap state machine

    This state machine will handle the simple cases of creating
    a local image from a remote image, registering to the remote
    journal, and sync'ing the image contents.
    
    There are several TODOs for future remaining work.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Mar 14, 2016
    Copy the full SHA
    da774b5 View commit details
    Browse the repository at this point in the history
  4. rbd-mirror: integrate new bootstrap state machine

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Mar 14, 2016
    Copy the full SHA
    6eb2628 View commit details
    Browse the repository at this point in the history
  5. test: remove broken negative test cases

    These should be reimplemented using google mock instead of
    virtual functions.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Mar 14, 2016
    Copy the full SHA
    51114d0 View commit details
    Browse the repository at this point in the history