diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2013-02-06 17:20:50 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-02-06 17:20:50 +0100 |
commit | 06b1100acabe011ce632b1a97819cde41d66d0ad (patch) | |
tree | dce138ff3e8b4c29b305a746d71c473e20d4581d /include | |
parent | fd7f25b62734ecdb63ed59001ef69a1a34edc4b4 (diff) |
libfuse: add missing INIT flags
Add missing flags that userspace derived from the protocol version number. This
makes the protocol more flexible.
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse_kernel.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h index c632b58..0f24494 100644 --- a/include/fuse_kernel.h +++ b/include/fuse_kernel.h @@ -194,10 +194,18 @@ struct fuse_file_lock { /** * INIT request/reply flags * + * FUSE_ASYNC_READ: asynchronous read requests * FUSE_POSIX_LOCKS: remote locking for POSIX file locks + * FUSE_FILE_OPS: kernel sends file handle for fstat, etc... (not yet supported) + * FUSE_ATOMIC_O_TRUNC: handles the O_TRUNC open flag in the filesystem * FUSE_EXPORT_SUPPORT: filesystem handles lookups of "." and ".." + * FUSE_BIG_WRITES: filesystem can handle write size larger than 4kB * FUSE_DONT_MASK: don't apply umask to file mode on create operations + * FUSE_SPLICE_WRITE: kernel supports splice write on the device + * FUSE_SPLICE_MOVE: kernel supports splice move on the device + * FUSE_SPLICE_READ: kernel supports splice read on the device * FUSE_FLOCK_LOCKS: remote locking for BSD style file locks + * FUSE_HAS_IOCTL_DIR: kernel supports ioctl on directories */ #define FUSE_ASYNC_READ (1 << 0) #define FUSE_POSIX_LOCKS (1 << 1) @@ -206,7 +214,11 @@ struct fuse_file_lock { #define FUSE_EXPORT_SUPPORT (1 << 4) #define FUSE_BIG_WRITES (1 << 5) #define FUSE_DONT_MASK (1 << 6) +#define FUSE_SPLICE_WRITE (1 << 7) +#define FUSE_SPLICE_MOVE (1 << 8) +#define FUSE_SPLICE_READ (1 << 9) #define FUSE_FLOCK_LOCKS (1 << 10) +#define FUSE_HAS_IOCTL_DIR (1 << 11) /** * CUSE INIT request/reply flags |