]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-macos-avoid-reclaim-hang-20060124
authorDerrick Brashear <shadow@dementia.org>
Thu, 26 Jan 2006 16:04:49 +0000 (16:04 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 26 Jan 2006 16:04:49 +0000 (16:04 +0000)
FIXES 25686

based on chaskiel's suggestion, implement a lookaside reclaim list

(cherry picked from commit 532147e45588039e6db64ef7deccfc1d5d21d16d)

src/afs/DOC/afs_rwlocks

index b554d45efbc089cc8c3b69956a1d571f955c4ce3..dacee84d9e88115a760346e15280209b2dfaacb0 100644 (file)
@@ -33,6 +33,8 @@ locks on others.  Note this means you can't lock a cache entry while
 holding either of this lock, unless, as in afs_create, the cache entry
 is actually created while the afs_xvcache is held.
 
+6a. afs_xvreclaim. Protects the lookaside reclaim list. Locked inside xvcache in FlushReclaimedVcaches via NewVCache or the 1 min loop.
+
 7. afs_xvcb.  Volume callback lock.  Locked before afs_xserver in
 afs_RemoveVCB.