OpenAFS CVS Commit: openafs/src/dir by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 14 May 2002 16:21:09 EDT


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

Modified Files:
	buffer.c 
Log Message:
DELTA dir-hold-afs-bufferlock-across-increment-of-buffer-lockers-to-prevent-newslot-from-walking-on-stuff-20020514
AUTHOR shadow@dementia.org

liberal debugging code and hammering produced a failure where newslot was
actually walking on another call to newslot because the bufferlock was
being dropped before newslot incremented lockers on the buffer it
was allocating, allowing someone else to come along and also think they
could allocate it.

by holding the bufferlock just a little longer we avoid this


--- DELTA config follows ---
dir-hold-afs-bufferlock-across-increment-of-buffer-lockers-to-prevent-newslot-from-walking-on-stuff-20020514 openafs/src/dir/buffer.c 1.6 1.7