diff options
Diffstat (limited to 'network/sshfs-fuse/fixrst.diff')
-rw-r--r-- | network/sshfs-fuse/fixrst.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/network/sshfs-fuse/fixrst.diff b/network/sshfs-fuse/fixrst.diff new file mode 100644 index 000000000000..4bf148f5d57b --- /dev/null +++ b/network/sshfs-fuse/fixrst.diff @@ -0,0 +1,22 @@ +diff -Naur sshfs-3.6.0/sshfs.rst sshfs-3.6.0.patched/sshfs.rst +--- sshfs-3.6.0/sshfs.rst 2019-11-03 04:34:29.000000000 -0500 ++++ sshfs-3.6.0.patched/sshfs.rst 2020-01-01 03:49:22.746410220 -0500 +@@ -205,13 +205,11 @@ + -o direct_io + This option disables the use of page cache (file content cache) in + the kernel for this filesystem. +- This has several affects: +- 1. Each read() or write() system call will initiate one or more read or +- write operations, data will not be cached in the kernel. +- 2. The return value of the read() and write() system calls will correspond +- to the return values of the read and write operations. This is useful +- for example if the file size is not known in advance (before reading it). +- e.g. /proc filesystem ++ This has several effects: ++ ++ 1. Each read() or write() system call will initiate one or more read or write operations, data will not be cached in the kernel. ++ ++ 2. The return value of the read() and write() system calls will correspond to the return values of the read and write operations. This is useful for example if the file size is not known in advance (before reading it). e.g. /proc filesystem + + In addition, SSHFS accepts several options common to all FUSE file + systems. These are described in the `mount.fuse` manpage (look |