mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
NFSD: Shorten CB_OFFLOAD response to NFS4ERR_DELAY
Try not to prolong the wait for completion of a COPY or COPY_NOTIFY operation. Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
parent
2f2b6d0b9b
commit
71aeab7bd9
|
|
@ -1712,7 +1712,7 @@ static int nfsd4_cb_offload_done(struct nfsd4_callback *cb,
|
|||
switch (task->tk_status) {
|
||||
case -NFS4ERR_DELAY:
|
||||
if (cbo->co_retries--) {
|
||||
rpc_delay(task, 1 * HZ);
|
||||
rpc_delay(task, HZ / 5);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user