diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-09-20 20:10:18 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-10-08 14:45:51 (GMT) |
commit | 2598ed344586cf3612bfbd33041527c55543acfe (patch) | |
tree | 1dfe3f4c487bc647a84c1df4343a8a6a55079043 /fs/nfs/nfs4proc.c | |
parent | b3c2aa07454cf7ab4ec3ee882c586abbea033132 (diff) | |
download | linux-2598ed344586cf3612bfbd33041527c55543acfe.tar.xz |
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>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ 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; |