]> 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)
commiteb3bb2efa14b682f2afe0fdebaa2fe93691f3fc1
tree9b44702ca11d26b07e301932c1194fff9b9a2103
parent144b9c0105be15cb9aac13905508fd99272de5db
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