mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
147272813e
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>
19 lines
638 B
Makefile
19 lines
638 B
Makefile
#
|
|
# Makefile for the Linux nfs filesystem routines.
|
|
#
|
|
|
|
obj-$(CONFIG_NFS_FS) += nfs.o
|
|
|
|
nfs-y := client.o dir.o file.o getroot.o inode.o super.o nfs2xdr.o \
|
|
direct.o pagelist.o proc.o read.o symlink.o unlink.o \
|
|
write.o namespace.o mount_clnt.o
|
|
nfs-$(CONFIG_ROOT_NFS) += nfsroot.o
|
|
nfs-$(CONFIG_NFS_V3) += nfs3proc.o nfs3xdr.o
|
|
nfs-$(CONFIG_NFS_V3_ACL) += nfs3acl.o
|
|
nfs-$(CONFIG_NFS_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o \
|
|
delegation.o idmap.o \
|
|
callback.o callback_xdr.o callback_proc.o \
|
|
nfs4namespace.o
|
|
nfs-$(CONFIG_SYSCTL) += sysctl.o
|
|
nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
|