]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2049391529aaec4df55a27317ebcff1143d074c3
tree917819b96bac91e5daea7a31eb6eba66268952d9
parentf2a73fd1654adf1b4a81ec806c814f962a3642cd
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