]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Allow signal interruption of NFS4ERR_DELAYed operations
authorTrond Myklebust <trondmy@gmail.com>
Sun, 7 Apr 2019 17:59:09 +0000 (13:59 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 18:18:14 +0000 (14:18 -0400)
commit406471a9fc069e43b0cdb7a468e9a76f10d301f1
tree9b44702ca11d26b07e301932c1194fff9b9a2103
parent975fdd1e10ca239143a5555cf0b6fa8781d9bdf9
NFS: Allow signal interruption of NFS4ERR_DELAYed operations

If the server is unable to immediately execute an RPC call, and returns
an NFS4ERR_DELAY then we can assume it is safe to interrupt the operation
in order to handle ordinary signals. This allows the application to
service timer interrupts that would otherwise have to wait until the
server is again able to respond.

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