]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mount.ceph: give a hint message when no mds is up or cluster is laggy 32164/head
authorXiubo Li <xiubli@redhat.com>
Wed, 11 Dec 2019 01:50:12 +0000 (20:50 -0500)
committerXiubo Li <xiubli@redhat.com>
Fri, 13 Dec 2019 00:42:11 +0000 (19:42 -0500)
commit28ae01af7f42e8709baeeb2e22df720d9cb61e9b
treea4d783c37b797f7bdd49a56c77c9d37952e97e23
parent8e00a36d5339fe8ee5131e8c128c593259a66313
mount.ceph: give a hint message when no mds is up or cluster is laggy

When the cluster is laggy or no MDS is up the mount may time out with
errno == EHOSTUNREACH for the first time to do the mounting, and will
just return the same errno without waiting for the following retries.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mount/mount.ceph.c