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

mds: multimds flock fixes #15440

Merged
merged 5 commits into from
Jun 15, 2017
Merged

mds: multimds flock fixes #15440

merged 5 commits into from
Jun 15, 2017

Commits on Jun 3, 2017

  1. mds/flock: don't import ceph_lock_state_t::waiting_locks

    Item in waiting_locks is associated with flock mds request in
    exporter mds. If client re-sends the flock mds request to the
    importer, the importer starts a new MDRequest. The new one's
    'flock_was_waiting' is false.
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed Jun 3, 2017
    Configuration menu
    Copy the full SHA
    8d777c4 View commit details
    Browse the repository at this point in the history
  2. mds/flock: properly update ceph_lock_state_t::client_waiting_lock_counts

    no item is added to waiting_locks when deadlock check fails
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed Jun 3, 2017
    Configuration menu
    Copy the full SHA
    a6b0193 View commit details
    Browse the repository at this point in the history
  3. mds/flock: properly remove item from global_waiting_locks

    ceph_lock_state_t::remove_waiting() uses wrong key to search
    global_waiting_locks. It should use item in waiting_locks as
    key.
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed Jun 3, 2017
    Configuration menu
    Copy the full SHA
    0d71c61 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2017

  1. client: don't re-send interrupted flock request

    don't re-send interrupted flock request in cases of mds failover
    and receiving request forward.
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    044fabd View commit details
    Browse the repository at this point in the history
  2. mds: fix Locker::calc_new_client_ranges()

    update 'max_increased' when adding new client writable range
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    75ce2a9 View commit details
    Browse the repository at this point in the history