• Trond Myklebust's avatar
    NFS: Add options for finer control of the lookup cache · 4eec952e
    Trond Myklebust authored
    Add the flag NFS_MOUNT_LOOKUP_CACHE_NONEG to turn off the caching of
    negative dentries. In reality what we do is to force
    nfs_lookup_revalidate() to always discard negative dentries.
    
    Add the flag NFS_MOUNT_LOOKUP_CACHE_NONE for enforcing stricter
    revalidation of dentries. It forces the revalidate code to always do a
    lookup instead of just checking the cached mtime of the parent directory.
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    4eec952e
dir.c 51.9 KB