mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
9b9960a0ca
Have a simple flex file server where the mds (NFSv4.1 or NFSv4.2) is also the ds (NFSv3). I.e., the metadata and the data file are the exact same file. This will allow testing of the flex file client. Simply add the "pnfs" export option to your export in /etc/exports and mount from a client that supports flex files. Signed-off-by: Tom Haynes <loghyr@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
24 lines
883 B
Makefile
24 lines
883 B
Makefile
#
|
|
# Makefile for the Linux nfs server
|
|
#
|
|
|
|
ccflags-y += -I$(src) # needed for trace events
|
|
|
|
obj-$(CONFIG_NFSD) += nfsd.o
|
|
|
|
# this one should be compiled first, as the tracing macros can easily blow up
|
|
nfsd-y += trace.o
|
|
|
|
nfsd-y += nfssvc.o nfsctl.o nfsproc.o nfsfh.o vfs.o \
|
|
export.o auth.o lockd.o nfscache.o nfsxdr.o stats.o
|
|
nfsd-$(CONFIG_NFSD_FAULT_INJECTION) += fault_inject.o
|
|
nfsd-$(CONFIG_NFSD_V2_ACL) += nfs2acl.o
|
|
nfsd-$(CONFIG_NFSD_V3) += nfs3proc.o nfs3xdr.o
|
|
nfsd-$(CONFIG_NFSD_V3_ACL) += nfs3acl.o
|
|
nfsd-$(CONFIG_NFSD_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4idmap.o \
|
|
nfs4acl.o nfs4callback.o nfs4recover.o
|
|
nfsd-$(CONFIG_NFSD_PNFS) += nfs4layouts.o
|
|
nfsd-$(CONFIG_NFSD_BLOCKLAYOUT) += blocklayout.o blocklayoutxdr.o
|
|
nfsd-$(CONFIG_NFSD_SCSILAYOUT) += blocklayout.o blocklayoutxdr.o
|
|
nfsd-$(CONFIG_NFSD_FLEXFILELAYOUT) += flexfilelayout.o flexfilelayoutxdr.o
|