NFSv4: Allow entries in the idmap cache to expire
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 3 Jan 2006 08:55:57 +0000 (09:55 +0100)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Jan 2006 19:58:58 +0000 (14:58 -0500)
commit58df095b732529ade8f4051b41d7c29731afecd6
tree917819b96bac91e5daea7a31eb6eba66268952d9
parent0065db328533c390fbfb0fe0c46bcf9a278fb99e
NFSv4: Allow entries in the idmap cache to expire

 If someone changes the uid/gid mapping in userland, then we do eventually
 want those changes to be propagated to the kernel. Currently the kernel
 assumes that it may cache entries forever.

 Add an expiration time + garbage collector for idmap entries.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Documentation/kernel-parameters.txt
fs/nfs/idmap.c
fs/nfs/inode.c
fs/nfs/sysctl.c
include/linux/nfs_idmap.h