projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3c2aa0
)
NFSv4: Update the delay statistics counter for synchronous delays
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Sun, 20 Sep 2015 20:10:18 +0000
(16:10 -0400)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Thu, 8 Oct 2015 14:45:51 +0000
(10:45 -0400)
Currently, we only do so for asynchronous delays.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index d5c2a461f28185485e640358663b862c5670b71b..d044c7b11ff71dba8e5049363e60ce3325e4876e 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-412,8
+412,9
@@
static int nfs4_do_handle_exception(struct nfs_server *server,
ret = -EBUSY;
break;
}
- case -NFS4ERR_GRACE:
case -NFS4ERR_DELAY:
+ nfs_inc_server_stats(server, NFSIOS_DELAY);
+ case -NFS4ERR_GRACE:
exception->delay = 1;
return 0;