提交 2598ed34 编写于 作者: T Trond Myklebust

NFSv4: Update the delay statistics counter for synchronous delays

Currently, we only do so for asynchronous delays.
Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
上级 b3c2aa07
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册