]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit176453da418e3634dc3b55fb7f8069b068c0d602
tree89a147e126c5ab04a22041e20fcae2c670e5ec9e
parent2aa216aac0c40ef6275e2670da5fc5560ad1f480
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