155e7524f2
Define a configuration variable to enable/disable compilation of the block driver code. Add the minimal structure for a pnfs block layout driver, and empty list-heads that will hold the extent data [pnfsblock: make NFS_V4_1 select PNFS_BLOCK] Signed-off-by: Peng Tao <peng_tao@emc.com> Signed-off-by: Fred Isaman <iisaman@citi.umich.edu> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [pnfs-block: fix CONFIG_PNFS_BLOCK dependencies] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Benny Halevy <bhalevy@tonian.com> [pnfsblock: SQUASHME: adjust to API change] Signed-off-by: Fred Isaman <iisaman@citi.umich.edu> [pnfs: move pnfs_layout_type inline in nfs_inode] Signed-off-by: Benny Halevy <bhalevy@panasas.com> [blocklayout: encode_layoutcommit implementation] Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Benny Halevy <bhalevy@tonian.com> [pnfsblock: layout alloc and free] Signed-off-by: Fred Isaman <iisaman@citi.umich.edu> [pnfs: move pnfs_layout_type inline in nfs_inode] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Benny Halevy <bhalevy@tonian.com> [pnfsblock: define module alias] Signed-off-by: Peng Tao <peng_tao@emc.com> [rm inode and pnfs_layout_hdr args from cleanup_layoutcommit()] Signed-off-by: Jim Rees <rees@umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
26 lines
928 B
Makefile
26 lines
928 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 \
|
|
dns_resolve.o cache_lib.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_NFS_V4_1) += pnfs.o pnfs_dev.o
|
|
nfs-$(CONFIG_SYSCTL) += sysctl.o
|
|
nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
|
|
|
|
obj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o
|
|
nfs_layout_nfsv41_files-y := nfs4filelayout.o nfs4filelayoutdev.o
|
|
|
|
obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/
|
|
obj-$(CONFIG_PNFS_BLOCK) += blocklayout/
|