]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: adjust scache LRU postion upon deletion
authorJeffrey Altman <jaltman@your-file-system.com>
Thu, 4 Aug 2011 21:25:01 +0000 (17:25 -0400)
committerDerrick Brashear <shadow@dementia.org>
Fri, 12 Aug 2011 15:56:33 +0000 (08:56 -0700)
commit2d2ad3cf0f0f095e014a4a25053ffe27918aeb15
tree4f7c7130c1dd72955306061faa6943d63af82ec4
parent0f56ed3253554b55987d5c59d370e4ed3377bc10
Windows: adjust scache LRU postion upon deletion

If the object represented by a scache object is deleted,
update the LRU position of the scache object to make it
the first object in the LRU queue to be recycled.  This
preserves the cached objects for those that might prove
useful in the future.

Reviewed-on: http://gerrit.openafs.org/5161
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit c5126838590eaf15e0df569c31b2a1bc12b3e0af)

Change-Id: Icf60ad3127c295e4fca0e99e338ba4c62cd9e392
Reviewed-on: http://gerrit.openafs.org/5210
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/WINNT/afsd/cm_conn.c
src/WINNT/afsd/cm_scache.c
src/WINNT/afsd/cm_vnodeops.c