[timings] counting avg acl reply size in cached case
This commit is contained in:
parent
6eea9faa2e
commit
3295a9da05
1 changed files with 4 additions and 0 deletions
|
|
@ -3987,6 +3987,10 @@ NTSTATUS nfs41_QuerySecurityInformation (
|
||||||
RxContext->IoStatusBlock.Information =
|
RxContext->IoStatusBlock.Information =
|
||||||
RxContext->InformationToReturn = nfs41_fobx->acl_len;
|
RxContext->InformationToReturn = nfs41_fobx->acl_len;
|
||||||
RxContext->IoStatusBlock.Status = status = STATUS_SUCCESS;
|
RxContext->IoStatusBlock.Status = status = STATUS_SUCCESS;
|
||||||
|
#ifdef ENABLE_TIMINGS
|
||||||
|
InterlockedIncrement(&getacl.sops);
|
||||||
|
InterlockedAdd64(&getacl.size, nfs41_fobx->acl_len);
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
DbgP("Received invalid user pointer\n");
|
DbgP("Received invalid user pointer\n");
|
||||||
status = STATUS_INTERNAL_ERROR;
|
status = STATUS_INTERNAL_ERROR;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue