OSDN Git Service

NFS: Consider ETIMEDOUT to be a fatal error
authorTrond Myklebust <trondmy@gmail.com>
Sun, 7 Apr 2019 17:58:59 +0000 (13:58 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 18:18:14 +0000 (14:18 -0400)
commit11982a7c0f654ededc776bc81d8a0c51d3ee8d1c
tree26a53a6b9d4a634df037615e58b5d4c46a680726
parentae6ec918474597a13a2648c54b6f12fb8cf0a55e
NFS: Consider ETIMEDOUT to be a fatal error

When we introduce the 'softerr' mount option, we will see the RPC
layer returning ETIMEDOUT errors if the server is unresponsive. We
want to consider those errors to be fatal on par with the EIO errors
that are returned by ordinary 'soft' timeouts..

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/internal.h