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

librbd: fix internal handling of dynamic feature updates #7299

Merged
merged 8 commits into from Jan 27, 2016

Commits on Jan 18, 2016

  1. tests: fix pybind path for RBD unit tests

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Jan 18, 2016
    Configuration menu
    Copy the full SHA
    326eb4c View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2016

  1. librbd: hide object map lock/unlock behind open/close

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Jan 19, 2016
    Configuration menu
    Copy the full SHA
    5e8325c View commit details
    Browse the repository at this point in the history
  2. test: use RBD v1 format when features not specified

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Jan 19, 2016
    Configuration menu
    Copy the full SHA
    4ed95cc View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2016

  1. librbd: correct handling of enabling/disabling dynamic features

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    5b54ed3 View commit details
    Browse the repository at this point in the history
  2. librbd: open object map before journal

    When both object map and journaling are dynamically enabled together,
    open object map before the journal to remain consistent with the
    ordering when acquiring the exclusive lock.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    946af50 View commit details
    Browse the repository at this point in the history
  3. test: correct v1 image format mock expectations

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    5a42183 View commit details
    Browse the repository at this point in the history
  4. librbd: close object map when dynamically disabled

    This will handle the case where the object map lock needs to be
    released.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    f425ed9 View commit details
    Browse the repository at this point in the history
  5. test: new mock test cases for librbd image refresh state machine

    Specifically tests the ability to dynamically enable/disable RBD
    features.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Jan 20, 2016
    Configuration menu
    Copy the full SHA
    f7d59c3 View commit details
    Browse the repository at this point in the history