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: improve the libcephfs when MDS is stopping #52336

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Mar 7, 2024

  1. client: try to skip stopping ones when choosing random MDSs

    When stopping an MDS the mdsmap will mark it as stopping, try to
    avoid choose the stopping MDSs when making new requests.
    
    Fixes: https://tracker.ceph.com/issues/61914
    Signed-off-by: Xiubo Li <xiubli@redhat.com>
    lxbsz committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    77e6fe2 View commit details
    Browse the repository at this point in the history
  2. client: flush the dirty caps immediately when the MDS is stopping

    Trigger to flush the dirty caps when the MDS is stopping, or the
    caps could be dropped if the MDS stopped before the client could
    receiving the mdsmap.
    
    Fixes: https://tracker.ceph.com/issues/61914
    Signed-off-by: Xiubo Li <xiubli@redhat.com>
    lxbsz committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    5061751 View commit details
    Browse the repository at this point in the history