[timings] counting avg acl reply size in cached case

This commit is contained in:
Olga Kornievskaia 2011-09-22 17:07:44 -04:00
parent 6eea9faa2e
commit 3295a9da05

View file

@ -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;