[pnfs] [PATCH 02/12] pnfsd-lexp: fs/nfsd/pnfsd_lexp.c skeleton and Makefile changes
Benny Halevy
bhalevy at panasas.com
Mon Jun 16 14:24:42 EDT 2008
Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
fs/nfsd/Makefile | 1 +
fs/nfsd/pnfsd_lexp.c | 23 +++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 fs/nfsd/pnfsd_lexp.c
diff --git a/fs/nfsd/Makefile b/fs/nfsd/Makefile
index 7438a77..3f74fa5 100644
--- a/fs/nfsd/Makefile
+++ b/fs/nfsd/Makefile
@@ -12,3 +12,4 @@ 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_PNFSD) += nfs4filelayoutxdr.o nfs4pnfsds.o
+nfsd-$(CONFIG_PNFSD_LOCAL_EXPORT) += pnfsd_lexp.o
diff --git a/fs/nfsd/pnfsd_lexp.c b/fs/nfsd/pnfsd_lexp.c
new file mode 100644
index 0000000..36744f7
--- /dev/null
+++ b/fs/nfsd/pnfsd_lexp.c
@@ -0,0 +1,23 @@
+/*
+ * linux/fs/nfsd/pnfs_lexp.c
+ *
+ * pNFS export of local filesystems.
+ *
+ * Export local file systems over the files layout type.
+ * The MDS (metadata server) functions also as a single DS (data server).
+ * This is mostly useful for development and debugging purposes.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Copyright (C) 2008 Benny Halevy, <bhalevy at panasas.com>
+ *
+ * Initial implementation was based on the pnfs-gfs2 patches done
+ * by David M. Richter <richterd at citi.umich.edu>
+ */
+
+#if defined(CONFIG_PNFSD_LOCAL_EXPORT)
+
+#endif /* CONFIG_PNFSD_LOCAL_EXPORT */
--
1.5.3.3
More information about the pNFS
mailing list