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: journal framework for tracking exclusive lock transitions #7529

Merged
merged 7 commits into from Feb 6, 2016

Commits on Feb 5, 2016

  1. journal: switched entry tags to use id instead of string

    Later commits will add the ability to allocate tags and
    associate them with registered clients.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Feb 5, 2016
    Copy the full SHA
    243d91d View commit details
    Browse the repository at this point in the history
  2. cls_journal: new tag management methods and handling

    In the case of librbd, a new tag will be allocated when the
    exclusive lock is acquired.  All tags for the same dataset
    (e.g. librbd image) will belong to the same class.  Tags are
    automatically pruned on tag create / client unregister
    if no other clients' commit position would require the tags.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Feb 5, 2016
    Copy the full SHA
    fa6d0ba View commit details
    Browse the repository at this point in the history
  3. cls_journal: client registration should hold opaque data structure

    The opaque structure will support journal client applications to
    store and retrieve complex state.
    
    Fixes: ceph#13298
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Feb 5, 2016
    Copy the full SHA
    3f29e7b View commit details
    Browse the repository at this point in the history
  4. cls_journal: new get_client / client_update methods

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Feb 5, 2016
    Copy the full SHA
    5eda285 View commit details
    Browse the repository at this point in the history
  5. journal: added tag support methods

    librbd, for example, will allocate a new tag after acquiring
    the exclusive lock.
    
    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Feb 5, 2016
    Copy the full SHA
    608947c View commit details
    Browse the repository at this point in the history
  6. librbd: initial version of journal client and tag metadata

    Signed-off-by: Jason Dillaman <dillaman@redhat.com>
    Jason Dillaman committed Feb 5, 2016
    Copy the full SHA
    8443e50 View commit details
    Browse the repository at this point in the history
  7. librbd: partial implementation of journal client / tag allocation

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