[pnfs] [PATCH 02/25] panlayout: Define PNFS_PANLAYOUT Kconfig option

Benny Halevy bhalevy at panasas.com
Sun Jan 6 13:18:35 EST 2008


Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
 fs/Kconfig                |    8 ++++++++
 fs/nfs/Makefile           |    2 ++
 fs/nfs/panlayout/Makefile |    6 ++++++
 3 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 fs/nfs/panlayout/Makefile

diff --git a/fs/Kconfig b/fs/Kconfig
index b244760..69412a6 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1665,6 +1665,14 @@ config PNFS
 
 	  If unsure, say N.
 
+config PNFS_PANLAYOUT
+	tristate "Provide support for the Panasas OSD Layout Driver for NFSv4.1 pNFS (EXPERIMENTAL)"
+	depends on PNFS
+	help
+	  Say M here if you want your pNFS client to support the Panasas OSD Layout Driver
+
+	  If unsure, say N.
+
 config NFS_DIRECTIO
 	bool "Allow direct I/O on NFS files"
 	depends on NFS_FS
diff --git a/fs/nfs/Makefile b/fs/nfs/Makefile
index 81c8837..6229556 100644
--- a/fs/nfs/Makefile
+++ b/fs/nfs/Makefile
@@ -21,3 +21,5 @@ nfs-$(CONFIG_SYSCTL) += sysctl.o
 
 obj-m += nfslayoutdriver.o
 nfslayoutdriver-objs := nfs4filelayout.o nfs4filelayoutdev.o
+
+obj-$(CONFIG_PNFS_PANLAYOUT) += panlayout/
diff --git a/fs/nfs/panlayout/Makefile b/fs/nfs/panlayout/Makefile
new file mode 100644
index 0000000..e9e1b13
--- /dev/null
+++ b/fs/nfs/panlayout/Makefile
@@ -0,0 +1,6 @@
+#
+# Makefile for the Panasas pNFS Layout Driver kernel module
+#
+obj-$(CONFIG_NFS_PANLAYOUT) += panlayoutdriver.o
+panlayoutdriver-objs := 
+
-- 
1.5.3.3



More information about the pNFS mailing list