OpenAFS CVS Commit: openafs/src/afs by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 25 Dec 2001 13:10:39 EST


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

Modified Files:
	afs_segments.c 
Log Message:
DELTA fix-dcache-deadlock-20011225
AUTHOR kolya@mit.edu

"This patch fixes a deadlock in the new dcache locking scheme.
  The underlying bug apparently existed before, but due to the
  absence of locking, it probably resulted in spuriously high
  refcounts rather than deadlock.

  The problem happens when there are zero-length dcache entries
  associated with a file; this is demonstrated by fsx, which
  hangs after running on AFS for a while.  The writeback loop
  never releases dcache entries unless they're stored back to
  the server as part of a sequential byte range."


--- DELTA config follows ---
fix-dcache-deadlock-20011225 openafs/src/afs/afs_segments.c 1.9 1.10