Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2598ed34 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Update the delay statistics counter for synchronous delays



Currently, we only do so for asynchronous delays.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent b3c2aa07
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;