OpenAFS CVS Commit: openafs/src/dir by shadow

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:
Log Message:
DELTA dir-hold-afs-bufferlock-across-increment-of-buffer-lockers-to-prevent-newslot-from-walking-on-stuff-20020514

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