]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ceph: only choose one MDS who is in up:active state without laggy
authorXiubo Li <xiubli@redhat.com>
Tue, 26 Nov 2019 12:24:22 +0000 (07:24 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 27 Jan 2020 15:53:39 +0000 (16:53 +0100)
commit5d47648fe95412beffe2089d6d6484adb5ea0f96
tree11ec28f717549c83a44b4c294ec582bb8ae02d21
parent4d7ace02ba5c6ef1f8eeb32a86fef7c528bd7f36
ceph: only choose one MDS who is in up:active state without laggy

Even the MDS is in up:active state, but it also maybe laggy. Here
will skip the laggy MDSs.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c
fs/ceph/mdsmap.c