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_kernel.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_kernel.h')
-rw-r--r-- | include/fuse_kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h index 018a00a..48f2000 100644 --- a/include/fuse_kernel.h +++ b/include/fuse_kernel.h @@ -238,12 +238,14 @@ struct fuse_file_lock { * FOPEN_NONSEEKABLE: the file is not seekable * FOPEN_CACHE_DIR: allow caching this directory * FOPEN_STREAM: the file is stream-like (no file position at all) + * FOPEN_NOFLUSH: don't flush data cache on close (unless FUSE_WRITEBACK_CACHE) */ #define FOPEN_DIRECT_IO (1 << 0) #define FOPEN_KEEP_CACHE (1 << 1) #define FOPEN_NONSEEKABLE (1 << 2) #define FOPEN_CACHE_DIR (1 << 3) #define FOPEN_STREAM (1 << 4) +#define FOPEN_NOFLUSH (1 << 5) /** * INIT request/reply flags |