Windows: Do not prime the service directory cache

Performing a directory enumeration is an expensive operation
that we should be attempting to avoid.   The current directory
enumeration and evaluate target requests will use inline bulk
status RPCs to the file server which obtain status for 49 items
at a time from a single directory.

Change-Id: I78e08680fec9715c3c446d0c4c5226cd79db80bd
Reviewed-on: http://gerrit.openafs.org/6502
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Peter Scott <pscott@kerneldrivers.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
Jeffrey Altman 2012-01-03 23:36:50 -05:00 committed by Jeffrey Altman
parent 6ee54eb382
commit b92a676517

View File

@ -223,26 +223,6 @@ AFSQueryDirectory( IN PIRP Irp)
TRUE);
bReleaseFcb = TRUE;
//
// Tell the service to prime the cache of the directory content
//
ntStatus = AFSEnumerateDirectoryNoResponse( &pCcb->AuthGroup,
&pFcb->ObjectInformation->FileId);
if( !NT_SUCCESS( ntStatus))
{
AFSDbgLogMsg( AFS_SUBSYSTEM_FILE_PROCESSING,
AFS_TRACE_LEVEL_ERROR,
"AFSQueryDirectory Enumerate directory failure for parent %wZ Mask %wZ Status %08lX\n",
&pCcb->DirectoryCB->NameInformation.FileName,
&pCcb->MaskName,
ntStatus);
try_return( ntStatus);
}
}
else
{