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)
commit0688e64bc60038971253485d92bc3d6c816f915d
tree9b44702ca11d26b07e301932c1194fff9b9a2103
parent33344e0f7eaa2efbf9fcc55557d02e8603aa7012
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