aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2011-08-11 17:29:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-11 20:51:27 -0400
commit8cf1fb21632d302fad6404f891b002ab8c13b1b4 (patch)
tree92c7fd08c3a1b8e9a789a285306504b6fece6f23 /fs
parent8c20871998c082f6fbc963f1449a5ba5140ee39a (diff)
pnfs: Automatically select blocks & objects layouts
Just like files-layout, blocks & objects layouts are part of the NFS 4.1 protocol and should be automatically selected if NFS_4_1 is selected. The small problem is that these depend on other Kernel support being present, while files only depends on NFS itself. This patch removes from the user choice the presence of objects and blocks layout. But makes sure these are selected only if the depended subsystems are present in the Kernel. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com> Acked-by: Peng Tao <peng_tao@emc.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/Kconfig18
1 files changed, 4 insertions, 14 deletions
diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig
index 0d306131706d..dbcd82126aed 100644
--- a/fs/nfs/Kconfig
+++ b/fs/nfs/Kconfig
@@ -89,24 +89,14 @@ config PNFS_FILE_LAYOUT
89 tristate 89 tristate
90 90
91config PNFS_BLOCK 91config PNFS_BLOCK
92 tristate "Provide support for the pNFS Block Layout Driver for NFSv4.1 pNFS (EXPERIMENTAL)" 92 tristate
93 depends on NFS_FS && NFS_V4_1 && BLK_DEV_DM 93 depends on NFS_FS && NFS_V4_1 && BLK_DEV_DM
94 help 94 default m
95 Say M here if you want your pNFS client to support the Block Layout Driver
96 (RFC 5663). Requires Multiple devices driver support (DM) and Device mapper
97 support (BLK_DEV_DM).
98
99 If unsure, say N.
100 95
101config PNFS_OBJLAYOUT 96config PNFS_OBJLAYOUT
102 tristate "Provide support for the pNFS Objects Layout Driver for NFSv4.1 pNFS (EXPERIMENTAL)" 97 tristate
103 depends on NFS_FS && NFS_V4_1 && SCSI_OSD_ULD 98 depends on NFS_FS && NFS_V4_1 && SCSI_OSD_ULD
104 help 99 default m
105 Say M here if you want your pNFS client to support the Objects Layout Driver.
106 Requires the SCSI osd initiator library (SCSI_OSD_INITIATOR) and
107 upper level driver (SCSI_OSD_ULD).
108
109 If unsure, say N.
110 100
111config ROOT_NFS 101config ROOT_NFS
112 bool "Root file system on NFS" 102 bool "Root file system on NFS"