aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2011-02-24 12:58:00 -0500
committerSteve French <sfrench@us.ibm.com>2011-05-19 10:10:48 -0400
commitb34cb85cc2d84c487afe2baa2d3c04d8b677bbd0 (patch)
tree67d117ee0bb631c443e32fa1402508958adf8f6d /fs/cifs
parent34c87901e113799a45423fdac29c7478c889a95d (diff)
Introduce SMB2 Kconfig option
SMB2 is the followon to the CIFS (and SMB) protocols and the default for Windows since Windows Vista, and also now implemented by various non-Windows servers. SMB2 is more secure, has various performance advantages, including larger i/o sizes, flow control, better caching model and more. SMB2 also resolves some scalability limits in the cifs protocol and adds many new features while being much simpler (only a few dozen commands instead of hundreds) and since the protocol is clearer it is also more consistently implemented across servers and thus easier to optimize. After much discussion with Jeff Layton, Jeremy Allison and others at Connectathon, we decided to move the smb2 code from a distinct .ko and fstype into distinct C files that optionally build in cifs.ko. As a result the Kconfig gets simpler. To avoid destabilizing cifs, the smb2 code is going to be moved into its own experimental CONFIG_CIFS_SMB2 ifdef as it is merged and rereviewed. The changes to stable cifs (builds with the smb2 ifdef off) are expected to be fairly small. Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/Kconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index 7cb0f7f847e4..2a492aad40d1 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -152,6 +152,26 @@ config CIFS_ACL
152 Allows to fetch CIFS/NTFS ACL from the server. The DACL blob 152 Allows to fetch CIFS/NTFS ACL from the server. The DACL blob
153 is handed over to the application/caller. 153 is handed over to the application/caller.
154 154
155config CIFS_SMB2
156 bool "SMB2 network file system support (EXPERIMENTAL)"
157 depends on EXPERIMENTAL && INET && BROKEN
158 select NLS
159 select KEYS
160 select FSCACHE
161 select DNS_RESOLVER
162
163 help
164 This enables experimental support for the SMB2 (Server Message Block
165 version 2) protocol. The SMB2 protocol is the successor to the
166 popular CIFS and SMB network file sharing protocols. SMB2 is the
167 native file sharing mechanism for recent versions of Windows
168 operating systems (since Vista). SMB2 enablement will eventually
169 allow users better performance, security and features, than would be
170 possible with cifs. Note that smb2 mount options also are simpler
171 (compared to cifs) due to protocol improvements.
172
173 Unless you are a developer or tester, say N.
174
155config CIFS_EXPERIMENTAL 175config CIFS_EXPERIMENTAL
156 bool "CIFS Experimental Features (EXPERIMENTAL)" 176 bool "CIFS Experimental Features (EXPERIMENTAL)"
157 depends on CIFS && EXPERIMENTAL 177 depends on CIFS && EXPERIMENTAL