commit | 2598ed344586cf3612bfbd33041527c55543acfe | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Sun Sep 20 16:10:18 2015 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Oct 08 10:45:51 2015 -0400 |
tree | 1dfe3f4c487bc647a84c1df4343a8a6a55079043 | |
parent | b3c2aa07454cf7ab4ec3ee882c586abbea033132 [diff] [blame] |
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>
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d5c2a46..d044c7b 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c
@@ -412,8 +412,9 @@ ret = -EBUSY; break; } - case -NFS4ERR_GRACE: case -NFS4ERR_DELAY: + nfs_inc_server_stats(server, NFSIOS_DELAY); + case -NFS4ERR_GRACE: exception->delay = 1; return 0;