Commit 0688e64b authored by Trond Myklebust's avatar Trond Myklebust Committed by Anna Schumaker

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: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 33344e0f
...@@ -206,6 +206,7 @@ struct nfs4_exception { ...@@ -206,6 +206,7 @@ struct nfs4_exception {
unsigned char delay : 1, unsigned char delay : 1,
recovering : 1, recovering : 1,
retry : 1; retry : 1;
bool interruptible;
}; };
struct nfs4_state_recovery_ops { struct nfs4_state_recovery_ops {
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment