mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 21:54:06 +08:00
NFSv4: Update the delay statistics counter for synchronous delays
Currently, we only do so for asynchronous delays. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
parent
b3c2aa0745
commit
2598ed3445
@ -412,8 +412,9 @@ static int nfs4_do_handle_exception(struct nfs_server *server,
|
|||||||
ret = -EBUSY;
|
ret = -EBUSY;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case -NFS4ERR_GRACE:
|
|
||||||
case -NFS4ERR_DELAY:
|
case -NFS4ERR_DELAY:
|
||||||
|
nfs_inc_server_stats(server, NFSIOS_DELAY);
|
||||||
|
case -NFS4ERR_GRACE:
|
||||||
exception->delay = 1;
|
exception->delay = 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user