]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] NFS: Cache the NFSv3 acls.
authorAndreas Gruenbacher <agruen@suse.de>
Wed, 22 Jun 2005 17:16:27 +0000 (17:16 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:25 +0000 (16:07 -0400)
commita3dcf9a82eda359311439d48d8413bdf8b2a6cd4
treec67e62e0b46c22b061d5eb2b28ef702bdf2afa0d
parent5e037bea0844e9c74be15844c26911881734ca1a
[PATCH] NFS: Cache the NFSv3 acls.

 Attach acls to inodes in the icache to avoid unnecessary GETACL RPC
 round-trips.  As long as the client doesn't retrieve any acls itself, only the
 default acls of exiting directories and the default and access acls of new
 directories will end up in the cache, which preserves some memory compared to
 always caching the access and default acl of all files.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Acked-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs3acl.c
fs/nfs/nfs3proc.c
include/linux/nfs_fs.h