ms-nfs41-client/daemon
Casey Bodley 6c555e028b namecache: prefer to evict child entries over parents
renamed name_cache_entry_refresh() to name_cache_entry_updated().  this function resets the entry's expiration timer.  new function name_cache_entry_accessed() deals with moving the entry to the end of exp_entries to prevent eviction

name_cache_entry_accessed() now does the same for its parents as well.  cache consistency of the parents is maintained because their expiration timers are unchanged.  by 'refreshing' the parents of each name cache entry inserted, the eviction policy will always prefer child nodes (which are far less costly to evict)

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
2011-08-25 14:04:54 -04:00
..
acl.c removing unnecessary ZeroMemory calls 2011-08-24 17:43:20 -04:00
callback_server.c callback: avoid malloc in nfs41_callback_session_init() 2011-08-15 13:41:05 -04:00
callback_xdr.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
daemon_debug.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
daemon_debug.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
delegation.c namecache: delegation-related fixes 2011-08-25 14:04:46 -04:00
delegation.h simplifying nfs41_delegate_open args 2011-08-23 11:45:59 -04:00
from_kernel.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
getattr.c removing unnecessary ZeroMemory calls 2011-08-24 17:43:20 -04:00
idmap.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
idmap.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
list.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
lock.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
lookup.c removing unnecessary ZeroMemory calls 2011-08-24 17:43:20 -04:00
makefile fresh git tree for public release 2010-10-12 10:15:48 -04:00
mount.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
name_cache.c namecache: prefer to evict child entries over parents 2011-08-25 14:04:54 -04:00
name_cache.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
namespace.c removing unnecessary ZeroMemory calls 2011-08-24 17:43:20 -04:00
nfs41.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
nfs41_callback.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
nfs41_client.c removing unnecessary ZeroMemory calls 2011-08-24 17:43:20 -04:00
nfs41_compound.c removing unnecessary ZeroMemory calls 2011-08-24 17:43:20 -04:00
nfs41_compound.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
nfs41_const.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
nfs41_daemon.c [daemon] checking for memory allocate in downcall 2011-08-22 11:49:42 -04:00
nfs41_ops.c namecache: delegation-related fixes 2011-08-25 14:04:46 -04:00
nfs41_ops.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
nfs41_rpc.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
nfs41_server.c removing unnecessary ZeroMemory calls 2011-08-24 17:43:20 -04:00
nfs41_session.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
nfs41_superblock.c removing unnecessary ZeroMemory calls 2011-08-24 17:43:20 -04:00
nfs41_types.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
nfs41_xdr.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
nfs41_xdr.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
open.c fixing condition when to cancel open 2011-08-24 16:03:25 -04:00
pnfs.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
pnfs_debug.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
pnfs_device.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
pnfs_io.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
pnfs_layout.c formating changes to pnfs_layout.c 2011-08-25 13:07:12 -04:00
readdir.c simplifying logic in handle_readdir 2011-08-25 13:07:00 -04:00
readwrite.c [cosmetic] formatting changes to readwrite.c 2011-08-24 18:14:02 -04:00
recovery.c [cosmetic] formating changes to recovery.c 2011-08-24 18:01:30 -04:00
recovery.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
service.c warnings from WDK 6000 2010-10-19 11:17:29 -04:00
service.h first stab at nfsd as a service 2010-10-12 10:36:03 -04:00
setattr.c removing unnecessary ZeroMemory calls 2011-08-24 17:43:20 -04:00
sources idmap.c for ldap caching and configuration 2010-11-08 12:54:40 -05:00
symlink.c [cosmetic] formating changes (tabs) to symlink.c 2011-08-24 17:16:02 -04:00
tree.h replace rbtree implementation with tree.h from freebsd 2010-12-01 10:25:29 -05:00
upcall.c simplifying logic in upcall_marshall 2011-08-24 17:07:45 -04:00
upcall.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
util.c [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
util.h [cosmetic] minor license changes 2011-08-12 13:20:12 -04:00
volume.c making handle_volume_attributes void 2011-08-24 16:17:06 -04:00