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

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