]> git.baikalelectronics.ru Git - 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)
commit14e808e569515838a98bf56445b91edb65832b2a
tree11ec28f717549c83a44b4c294ec582bb8ae02d21
parentdf7d39a0f7ff726228a8005ee913ab97cb3ea230
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