From: Trond Myklebust Date: Wed, 18 May 2022 20:37:56 +0000 (-0400) Subject: Revert "pNFS: nfs3_set_ds_client should set NFS_CS_NOPING" X-Git-Tag: baikal/mips/sdk6.1~5052^2~44 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=33fb4d7e449459d944fca4d2171d11cedf249896;p=kernel.git Revert "pNFS: nfs3_set_ds_client should set NFS_CS_NOPING" This reverts commit 6d0b3ac771433772dbdef0a19b865d6f33dc1c71. If a transport is down, then we want to fail over to other transports if they are listed in the GETDEVICEINFO reply. Fixes: 6d0b3ac77143 ("pNFS: nfs3_set_ds_client should set NFS_CS_NOPING") Cc: stable@vger.kernel.org # 5.11.x Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfs3client.c b/fs/nfs/nfs3client.c index 5601e47360c28..b49359afac883 100644 --- a/fs/nfs/nfs3client.c +++ b/fs/nfs/nfs3client.c @@ -108,7 +108,6 @@ struct nfs_client *nfs3_set_ds_client(struct nfs_server *mds_srv, if (mds_srv->flags & NFS_MOUNT_NORESVPORT) __set_bit(NFS_CS_NORESVPORT, &cl_init.init_flags); - __set_bit(NFS_CS_NOPING, &cl_init.init_flags); __set_bit(NFS_CS_DS, &cl_init.init_flags); /* Use the MDS nfs_client cl_ipaddr. */