]> git.apps.os.sepia.ceph.com Git - ceph-client.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>
Fri, 10 Jan 2020 10:11:06 +0000 (11:11 +0100)
commit31b3a597b836510980b51f357f505ccc4f9060e6
tree5784823975e389f9285a2767502aba8cd7b80c13
parent57b18902f085e166d5c8c0b208e8344eebaf553d
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>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
fs/ceph/mds_client.c
fs/ceph/mdsmap.c