*.cache
config.*
depcomp
+compile
libtool
INSTALL
fuse.pc
* ulockmgr: handle the case, when a locking operation fails
because no more file desctriptors are available in
ulockmgr_server. Also work around a Linux kernel bug (known to
- exist for all Linux kernel versions <= 2.6.19) which may cause
+ exist for all Linux kernel versions <= 2.6.18) which may cause
sent file descriptors to be lost in the above case
* ulockmgr: optimize file descriptor use
* destroy() method.
*
* Introduced in version 2.3
+ * Changed in version 2.6
*/
void *(*init) (struct fuse_conn_info *conn);
uint64_t lock_owner;
};
+/**
+ * Connection information, passed to the ->init() method
+ *
+ * Some of the elements are read-write, these can be changed to
+ * indicate the value requested by the filesystem. The requested
+ * value must usually be smaller than the indicated value.
+ */
struct fuse_conn_info {
+ /**
+ * Major version of the protocol (read-only)
+ */
unsigned proto_major;
+
+ /**
+ * Minor version of the protocol (read-only)
+ */
unsigned proto_minor;
+
+ /**
+ * Is asynchronous read supported (read-write)
+ */
unsigned async_read;
+
+ /**
+ * Maximum size of the write buffer
+ */
unsigned max_write;
+
+ /**
+ * Maximum readahead
+ */
unsigned max_readahead;
+
+ /**
+ * For future use.
+ */
unsigned reserved[27];
};