Blame SOURCES/0007-mount.cifs.rst-more-cleanups.patch

75f41f
From 4641bf62ceab8ed86e55c422f0dc7819972f14b6 Mon Sep 17 00:00:00 2001
75f41f
From: Aurelien Aptel <aaptel@suse.com>
75f41f
Date: Wed, 8 Aug 2018 11:38:16 +0200
75f41f
Subject: [PATCH 07/36] mount.cifs.rst: more cleanups
75f41f
75f41f
* remove duplicates (netbiosname, rdma)
75f41f
* remove snapshot
75f41f
* document nostrictsync, domain, domainauto better
75f41f
* point to vers= when talking about version requirements
75f41f
* typos
75f41f
75f41f
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
75f41f
(cherry picked from commit 06503ef4490a3dde4e8297cf1c5cb336ba43aafa)
75f41f
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
75f41f
---
75f41f
 mount.cifs.rst | 61 ++++++++++++++++++++++++++++------------------------------
75f41f
 1 file changed, 29 insertions(+), 32 deletions(-)
75f41f
75f41f
diff --git a/mount.cifs.rst b/mount.cifs.rst
75f41f
index 13b3a1e..3504477 100644
75f41f
--- a/mount.cifs.rst
75f41f
+++ b/mount.cifs.rst
75f41f
@@ -138,25 +138,20 @@ port=arg
75f41f
   try to connect on port 445 first and then port 139 if that
75f41f
   fails. Return an error if both fail.
75f41f
 
75f41f
-
75f41f
 netbiosname=arg
75f41f
-  Specify the client netbios name (RFC1001 name) to use when attempting
75f41f
-  to setup a session to the server. Although rarely needed for mounting
75f41f
+  When mounting to servers via port 139, specifies the RFC1001 source
75f41f
+  name to use to represent the client netbios machine during the netbios
75f41f
+  session initialization.
75f41f
+
75f41f
+servern=arg
75f41f
+  Similar to ``netbiosname`` except it specifies the netbios name of
75f41f
+  the server instead of the client. Although rarely needed for mounting
75f41f
   to newer servers, this option is needed for mounting to some older
75f41f
   servers (such as OS/2 or Windows 98 and Windows ME) since when
75f41f
   connecting over port 139 they, unlike most newer servers, do not
75f41f
   support a default server name. A server name can be up to 15
75f41f
   characters long and is usually uppercased.
75f41f
 
75f41f
-servern=arg
75f41f
-  Similarl to ``netbiosname`` except it specifies the netbios name of
75f41f
-  the server instead of the client.
75f41f
-
75f41f
-netbiosname=arg
75f41f
-  When mounting to servers via port 139, specifies the RFC1001 source
75f41f
-  name to use to represent the client netbios machine name when doing
75f41f
-  the RFC1001 netbios session initialize.
75f41f
-
75f41f
 file_mode=arg
75f41f
   If the server does not support the CIFS Unix extensions this overrides
75f41f
   the default file mode.
75f41f
@@ -171,11 +166,14 @@ ip=arg|addr=arg
75f41f
   rarely needs to be specified by the user.
75f41f
 
75f41f
 domain=arg|dom=arg|workgroup=arg
75f41f
-  sets the domain (workgroup) of the user.
75f41f
+  Sets the domain (workgroup) of the user. If no domains are given,
75f41f
+  the empty domain will be used. Use ``domainauto`` to automatically
75f41f
+  guess the domain of the server you are connecting to.
75f41f
 
75f41f
 domainauto
75f41f
-  When using NTLMv2 authentification and not providing a domain via
75f41f
+  When using NTLM authentication and not providing a domain via
75f41f
   ``domain``, guess the domain from the server NTLM challenge.
75f41f
+  This behavior used to be the default on kernels older than 2.6.36.
75f41f
 
75f41f
 guest
75f41f
   don't prompt for a password.
75f41f
@@ -249,7 +247,14 @@ cache=arg
75f41f
   default is ``strict``.
75f41f
 
75f41f
 nostrictsync
75f41f
-  Do not flush to the server on fsync().
75f41f
+  Do not ask the server to flush on fsync().
75f41f
+  Some servers perform non-buffered writes by default in which case
75f41f
+  flushing is redundant. In workloads where a client is performing a
75f41f
+  lot of small write + fsync combinations and where network latency is
75f41f
+  much higher than the server latency, this brings a 2x performance
75f41f
+  improvement.
75f41f
+  This option is also a good candidate in scenarios where we want
75f41f
+  performance over consistency.
75f41f
 
75f41f
 handlecache
75f41f
   (default) In SMB2 and above, the client often has to open the root
75f41f
@@ -359,15 +364,16 @@ sec=arg
75f41f
   automatically if it's enabled in */proc/fs/cifs/SecurityFlags*.
75f41f
 
75f41f
 seal
75f41f
-  Request encryption at the SMB layer. Encryption is only supported in
75f41f
-  SMBv3 and above. The encryption algorithm used is AES-128-CCM.
75f41f
+  Request encryption at the SMB layer. The encryption algorithm used
75f41f
+  is AES-128-CCM. Requires SMB3 or above (see ``vers``).
75f41f
 
75f41f
 rdma
75f41f
-  Connect directly to the server using SMB Direct via a RDMA adapter.
75f41f
+  Connect directly to the server using SMB Direct via a RDMA
75f41f
+  adapter. Requires SMB3 or above (see ``vers``).
75f41f
 
75f41f
 resilienthandles
75f41f
   Enable resilient handles. If the server supports it, keep opened
75f41f
-  files across reconenctions. Requires SMB2.1.
75f41f
+  files across reconnections. Requires SMB2.1 (see ``vers``).
75f41f
 
75f41f
 noresilienthandles
75f41f
   (default) Disable resilient handles.
75f41f
@@ -375,16 +381,12 @@ noresilienthandles
75f41f
 persistenthandles
75f41f
   Enable persistent handles. If the server supports it, keep opened
75f41f
   files across reconnections. Persistent handles are also valid across
75f41f
-  servers in a cluser and have stronger guarantees than resilient
75f41f
-  handles. Requires SMB3 or above.
75f41f
+  servers in a cluster and have stronger guarantees than resilient
75f41f
+  handles. Requires SMB3 or above (see ``vers``).
75f41f
 
75f41f
 nopersistenthandles
75f41f
   (default) Disable persistent handles.
75f41f
 
75f41f
-snapshot=time
75f41f
-  Mount a specific snapshot of the remote share. ``time`` must be a
75f41f
-  positive integer identifying the snapshot requested.
75f41f
-
75f41f
 nobrl
75f41f
   Do not send byte range lock requests to the server. This is necessary
75f41f
   for certain applications that break with cifs style mandatory byte
75f41f
@@ -396,7 +398,7 @@ forcemandatorylock
75f41f
   extensions. Always use cifs style mandatory locks.
75f41f
 
75f41f
 locallease
75f41f
-  Check cache leases locally instead of querying the server.
75f41f
+  Check cached leases locally instead of querying the server.
75f41f
 
75f41f
 sfu
75f41f
   When the CIFS Unix Extensions are not negotiated, attempt to create
75f41f
@@ -425,11 +427,6 @@ echo_interval=n
75f41f
   If this option is not given then the default value of 60 seconds is used.
75f41f
   The minimum tunable value is 1 second and maximum can go up to 600 seconds.
75f41f
 
75f41f
-rdma
75f41f
-   Use to connect to SMB Direct, only applicable when specified with
75f41f
-   vers=3 or vers=3.x.
75f41f
-   Here 3.x can be 3.0, 3.02 or 3.1.1.
75f41f
-
75f41f
 serverino
75f41f
   Use inode numbers (unique persistent file identifiers) returned by the
75f41f
   server instead of automatically generating temporary inode numbers on
75f41f
@@ -471,7 +468,7 @@ nouser_xattr
75f41f
   support it otherwise. The default is for xattr support to be enabled.
75f41f
 
75f41f
 nodfs
75f41f
-  Do not follow Distributed FileSystem referals. IO on a file not
75f41f
+  Do not follow Distributed FileSystem referrals. IO on a file not
75f41f
   stored on the server will fail instead of connecting to the target
75f41f
   server transparently.
75f41f
 
75f41f
-- 
75f41f
1.8.3.1
75f41f