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

client: unlock client_lock when copying data and do more check for the client_lock #36730

Merged
merged 4 commits into from Sep 28, 2020

Commits on Sep 25, 2020

  1. client: simplify the iterating related code to make it more readable

    Signed-off-by: Xiubo Li <xiubli@redhat.com>
    lxbsz committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    1a902c4 View commit details
    Browse the repository at this point in the history
  2. client: do more check for the client_lock

    Fixes: https://tracker.ceph.com/issues/47039
    Signed-off-by: Xiubo Li <xiubli@redhat.com>
    lxbsz committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    f483407 View commit details
    Browse the repository at this point in the history
  3. client: unlock client_lock when copying data to bufferlist

    It's no need to hold the lock when copying the data, which may
    take a long time.
    
    Fixes: https://tracker.ceph.com/issues/47047
    Signed-off-by: Xiubo Li <xiubli@redhat.com>
    lxbsz committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    9d0e88c View commit details
    Browse the repository at this point in the history
  4. client: switch to unique_lock to avoid use the client_lock directly

    Fixes: https://tracker.ceph.com/issues/47039
    Signed-off-by: Xiubo Li <xiubli@redhat.com>
    lxbsz committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    74c0890 View commit details
    Browse the repository at this point in the history