original_kernel/fs/nfs
David Howells 147272813e NFS: Define and create server-level objects
Define and create server-level cache index objects (as managed by nfs_client
structs).

Each server object is created in the NFS top-level index object and is itself
an index into which superblock-level objects are inserted.

Ideally there would be one superblock-level object per server, and the former
would be folded into the latter; however, since the "nosharecache" option
exists this isn't possible.

The server object key is a sequence consisting of:

 (1) NFS version

 (2) Server address family (eg: AF_INET or AF_INET6)

 (3) Server port.

 (4) Server IP address.

The key blob is of variable length, depending on the length of (4).

The server object is given no coherency data to carry in the auxiliary data
permitted by the cache.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Tested-by: Daire Byrne <Daire.Byrne@framestore.com>
2009-04-03 16:42:42 +01:00
..
Kconfig NFS: Permit local filesystem caching to be enabled for NFS 2009-04-03 16:42:42 +01:00
Makefile NFS: Define and create server-level objects 2009-04-03 16:42:42 +01:00
callback.c
callback.h
callback_proc.c
callback_xdr.c
client.c NFS: Define and create server-level objects 2009-04-03 16:42:42 +01:00
delegation.c
delegation.h
dir.c
direct.c
file.c NFS: Add comment banners to some NFS functions 2009-04-03 16:42:41 +01:00
fscache-index.c NFS: Define and create server-level objects 2009-04-03 16:42:42 +01:00
fscache.c NFS: Define and create server-level objects 2009-04-03 16:42:42 +01:00
fscache.h NFS: Define and create server-level objects 2009-04-03 16:42:42 +01:00
getroot.c
idmap.c
inode.c NFS: Register NFS for caching and retrieve the top-level index 2009-04-03 16:42:42 +01:00
internal.h
iostat.h
mount_clnt.c
namespace.c
nfs2xdr.c
nfs3acl.c
nfs3proc.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2009-04-02 21:09:10 -07:00
nfs3xdr.c
nfs4_fs.h
nfs4namespace.c
nfs4proc.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2009-04-02 21:09:10 -07:00
nfs4renewd.c
nfs4state.c
nfs4xdr.c
nfsroot.c
pagelist.c
proc.c
read.c
super.c
symlink.c
sysctl.c
unlink.c
write.c