Blame SOURCES/0002-mount.cifs.rst-document-new-no-handlecache-mount-opt.patch

75f41f
From f701927118c7c0833751e610c3fd45504c47ef08 Mon Sep 17 00:00:00 2001
75f41f
From: Aurelien Aptel <aaptel@suse.com>
75f41f
Date: Tue, 15 May 2018 10:40:48 +0200
75f41f
Subject: [PATCH 02/36] mount.cifs.rst: document new (no)handlecache mount
75f41f
 option
75f41f
75f41f
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
75f41f
Reviewed-by: Steve French <smfrench@gmail.com>
75f41f
Reviewed-by: Pavel Shilovsky <piastryyy@gmail.com>
75f41f
(cherry picked from commit bfcbfaa27a6bcfea3d463e793feff5a983f344a5)
75f41f
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
75f41f
---
75f41f
 mount.cifs.rst | 10 ++++++++++
75f41f
 1 file changed, 10 insertions(+)
75f41f
75f41f
diff --git a/mount.cifs.rst b/mount.cifs.rst
75f41f
index c0f0bdb..405c459 100644
75f41f
--- a/mount.cifs.rst
75f41f
+++ b/mount.cifs.rst
75f41f
@@ -237,6 +237,16 @@ cache=arg
75f41f
   The default in kernels prior to 3.7 was ``loose``. As of kernel 3.7 the
75f41f
   default is ``strict``.
75f41f
 
75f41f
+handlecache
75f41f
+  (default) In SMB2 and above, the client often has to open the root
75f41f
+  of the share (empty path) in various places during mount, path
75f41f
+  revalidation and the statfs(2) system call. This option cuts
75f41f
+  redundant round trip traffic (opens and closes) by simply keeping
75f41f
+  the directory handle for the root around once opened.
75f41f
+
75f41f
+nohandlecache
75f41f
+  Disable caching of the share root directory handle.
75f41f
+
75f41f
 directio
75f41f
   Do not do inode data caching on files opened on this mount. This
75f41f
   precludes mmaping files on this mount. In some cases with fast
75f41f
-- 
75f41f
1.8.3.1
75f41f