diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-01-29 14:13:36 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-01-29 14:13:36 +0100 |
commit | 8bb62a632caa4269bb6436cae67307404882b936 (patch) | |
tree | 424b027334a65d134c44fb2dfc02dcd3c0577a61 /include/fuse_common.h | |
parent | dd432032db34c2ca22570af5ac6794822ef4c877 (diff) |
libfuse: Add "async_dio" and "writeback_cache" options
Asynchronous direct I/O is supported by linux kernels 3.13 and
later, writeback caching is supported by 3.14 and later.
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index 765e0a3..22d9591 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -96,6 +96,11 @@ struct fuse_file_info { * FUSE_CAP_SPLICE_MOVE: ability to move data to the fuse device with splice() * FUSE_CAP_SPLICE_READ: ability to use splice() to read from the fuse device * FUSE_CAP_IOCTL_DIR: ioctl support on directories + * FUSE_CAP_AUTO_INVAL_DATA: automatically invalidate cached pages + * FUSE_CAP_DO_READDIRPLUS: do READDIRPLUS (READDIR+LOOKUP in one) + * FUSE_CAP_READDIRPLUS_AUTO: adaptive readdirplus + * FUSE_CAP_ASYNC_DIO: asynchronous direct I/O submission + * FUSE_CAP_WRITEBACK_CACHE: use writeback cache for buffered writes */ #define FUSE_CAP_ASYNC_READ (1 << 0) #define FUSE_CAP_POSIX_LOCKS (1 << 1) @@ -111,6 +116,8 @@ struct fuse_file_info { #define FUSE_CAP_AUTO_INVAL_DATA (1 << 12) #define FUSE_CAP_READDIRPLUS (1 << 13) #define FUSE_CAP_READDIRPLUS_AUTO (1 << 14) +#define FUSE_CAP_ASYNC_DIO (1 << 15) +#define FUSE_CAP_WRITEBACK_CACHE (1 << 16) /** * Ioctl flags |