Merge PR #32164 into master

* refs/pull/32164/head:
	mount.ceph: give a hint message when no mds is up or cluster is laggy

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
This commit is contained in:
Patrick Donnelly 2020-01-06 12:19:01 -08:00
commit 0997d24ddd
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -508,6 +508,9 @@ int main(int argc, char *argv[])
case ENODEV:
fprintf(stderr, "mount error: ceph filesystem not supported by the system\n");
break;
case EHOSTUNREACH:
fprintf(stderr, "mount error: no mds server is up or the cluster is laggy\n");
break;
default:
fprintf(stderr, "mount error %d = %s\n",errno,strerror(errno));
}