NFS: Add a mount option "softerr" to allow clients to see ETIMEDOUT errors
authorTrond Myklebust <trondmy@gmail.com>
Sun, 7 Apr 2019 17:59:01 +0000 (13:59 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 18:18:14 +0000 (14:18 -0400)
commit91a575e1a98451d12df713f267a9a210a9e5dcf9
tree89a147e126c5ab04a22041e20fcae2c670e5ec9e
parent7b1355b615c67e8fcbfb508e6baee83aed9dee96
NFS: Add a mount option "softerr" to allow clients to see ETIMEDOUT errors

Add a mount option that exposes the ETIMEDOUT errors that occur during
soft timeouts to the application. This allows aware applications to
distinguish between server disk IO errors and client timeout errors.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/client.c
fs/nfs/super.c
include/linux/nfs_fs_sb.h