diff options
author | sunwire <50745572+sunwire@users.noreply.github.com> | 2019-10-19 20:26:10 +0100 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-10-19 20:26:10 +0100 |
commit | e1a9050c61bba5b51e21dbf8e80020c5c1d7c9ba (patch) | |
tree | 1f6bb1f9746044bcc23a25d2e3d7f2ecdae3b730 /sshfs.rst | |
parent | af63f35ac149678ac491cd763641cafaaa3bc6bd (diff) | |
download | sshfs-e1a9050c61bba5b51e21dbf8e80020c5c1d7c9ba.tar sshfs-e1a9050c61bba5b51e21dbf8e80020c5c1d7c9ba.tar.gz sshfs-e1a9050c61bba5b51e21dbf8e80020c5c1d7c9ba.tar.bz2 sshfs-e1a9050c61bba5b51e21dbf8e80020c5c1d7c9ba.zip |
Added direct_io option (#173)
Diffstat (limited to 'sshfs.rst')
-rw-r--r-- | sshfs.rst | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -202,6 +202,17 @@ Options sets the interval for forced cleaning of the directory cache when full. +-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 + In addition, SSHFS accepts several options common to all FUSE file systems. These are described in the `mount.fuse` manpage (look for "general", "libfuse specific", and "high-level API" options). |