From 3295a9da05fb03d11a4c59a148904de1c41697e2 Mon Sep 17 00:00:00 2001 From: Olga Kornievskaia Date: Thu, 22 Sep 2011 17:07:44 -0400 Subject: [PATCH] [timings] counting avg acl reply size in cached case --- sys/nfs41_driver.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c index 2bd077d..abdb521 100644 --- a/sys/nfs41_driver.c +++ b/sys/nfs41_driver.c @@ -3987,6 +3987,10 @@ NTSTATUS nfs41_QuerySecurityInformation ( RxContext->IoStatusBlock.Information = RxContext->InformationToReturn = nfs41_fobx->acl_len; RxContext->IoStatusBlock.Status = status = STATUS_SUCCESS; +#ifdef ENABLE_TIMINGS + InterlockedIncrement(&getacl.sops); + InterlockedAdd64(&getacl.size, nfs41_fobx->acl_len); +#endif } else { DbgP("Received invalid user pointer\n"); status = STATUS_INTERNAL_ERROR;