From c12e6d27f5fc43efc95b84110aa16cffe8e7ef89 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 09:21:56 +0000 Subject: Apply patch 0002-mount.cifs.rst-document-new-no-handlecache-mount-opt.patch patch_name: 0002-mount.cifs.rst-document-new-no-handlecache-mount-opt.patch present_in_specfile: true --- diff --git a/mount.cifs.rst b/mount.cifs.rst index c0f0bdb..405c459 100644 --- a/mount.cifs.rst +++ b/mount.cifs.rst @@ -237,6 +237,16 @@ cache=arg The default in kernels prior to 3.7 was ``loose``. As of kernel 3.7 the default is ``strict``. +handlecache + (default) In SMB2 and above, the client often has to open the root + of the share (empty path) in various places during mount, path + revalidation and the statfs(2) system call. This option cuts + redundant round trip traffic (opens and closes) by simply keeping + the directory handle for the root around once opened. + +nohandlecache + Disable caching of the share root directory handle. + directio Do not do inode data caching on files opened on this mount. This precludes mmaping files on this mount. In some cases with fast