OpenAFS CVS Commit: openafs/src/viced by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 24 Sep 2001 18:19:47 EDT


Update of /cvs/openafs/src/viced
In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/viced

Modified Files:
	afsfileprocs.c 
Log Message:
DELTA fileserver-remove-delay-on-stat-errors-20010925
AUTHOR shadow@dementia.org

previously and since 3.5 rx enhancements fileserver would delay 3 seconds
on sending an rx abort when the abort was the 11th or more occurance of
the same error on the same call. the problem was fetchstatus/bulkstatus
on a directory on which you have "l" but not "r" would take forever after the
first 5 files (bulkstatus and then fetchstatus on each file, 2*5=10)

so in FetchStatus and BulkStatus stubs we suppress repeated errors from
Check_PermissionRights *only*, which has the effect of suppressing the
problem without removing the theoretical benefit of avoiding letting any
one client throw requests at as as fast as we can abort them unless those
requests happen to be fetch/bulkstat requests which fail a permission check,
but in order to avoid that we'd also need to cache what they last tried
to stat, and then things would get ugly.


--- DELTA config follows ---
fileserver-remove-delay-on-stat-errors-20010925 openafs/src/viced/afsfileprocs.c 1.11 1.12