diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2022-03-14 09:48:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 09:48:43 +0000 |
commit | 2b7a6f065b6e30723d6cc8668cff198dbb62b914 (patch) | |
tree | 6420fbb2ddc1c8f04f6c4a05633401d3ceca68e1 /include/fuse.h | |
parent | 3c2ba7aa2500618b7b11255ef3f699d6615ad5a2 (diff) | |
parent | 66b04453b7a5d7aefa0a55e9101afe0347215128 (diff) | |
download | libfuse-2b7a6f065b6e30723d6cc8668cff198dbb62b914.tar.gz |
Merge pull request #635 from amir73il/fopen_noflush
Add support for FOPEN_NOFLUSH flag
Diffstat (limited to 'include/fuse.h')
-rw-r--r-- | include/fuse.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h index a273b15..9148688 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -248,6 +248,14 @@ struct fuse_config { int auto_cache; /** + * By default, fuse waits for all pending writes to complete + * and calls the FLUSH operation on close(2) of every fuse fd. + * With this option, wait and FLUSH are not done for read-only + * fuse fd, similar to the behavior of NFS/SMB clients. + */ + int no_rofd_flush; + + /** * The timeout in seconds for which file attributes are cached * for the purpose of checking if auto_cache should flush the * file data on open. |