]> 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)
commite76f2adbb20e2411098b164621609827496a307b
tree89a147e126c5ab04a22041e20fcae2c670e5ec9e
parenta05519dd9dfe8413f601a2b855c0212cef2fb4c1
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