macos-avoid-reclaim-hang-20060124
authorDerrick Brashear <shadow@dementia.org>
Thu, 26 Jan 2006 16:03:03 +0000 (16:03 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 26 Jan 2006 16:03:03 +0000 (16:03 +0000)
FIXES 25686

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

src/afs/DOC/afs_rwlocks

index 3a245b2..d73bac7 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.