]> 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 32910/head
authorXiubo Li <xiubli@redhat.com>
Wed, 11 Dec 2019 01:50:12 +0000 (20:50 -0500)
committerNathan Cutler <ncutler@suse.com>
Mon, 27 Jan 2020 16:30:36 +0000 (17:30 +0100)
commit39fb11569145a28bff588f153b13d134c815084d
tree9088d0218025966b490e4fd807b064bc5943c530
parent2ab5460062b6732d368caed445f975e4b7ef2331
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>
(cherry picked from commit 28ae01af7f42e8709baeeb2e22df720d9cb61e9b)
src/mount/mount.ceph.c