fuse_conn_info

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.

Members

Variables

capable
uint capable;

Capability flags that the kernel supports (read-only)

congestion_threshold
uint congestion_threshold;

Kernel congestion threshold parameter. If the number of pending background requests exceeds this number, the FUSE kernel module will mark the filesystem as "congested". This instructs the kernel to expect that queued requests will take some time to complete, and to adjust its algorithms accordingly (e.g. by putting a waiting thread to sleep instead of using a busy-loop).

max_background
uint max_background;

Maximum number of pending "background" requests. A background request is any type of request for which the total number is not limited by other means. As of kernel 4.8, only two types of requests fall into this category:

max_read
uint max_read;

Maximum size of read requests. A value of zero indicates no limit. However, even if the filesystem does not specify a limit, the maximum size of read requests will still be limited by the kernel.

max_readahead
uint max_readahead;

Maximum readahead

max_write
uint max_write;

Maximum size of the write buffer

proto_major
uint proto_major;

Major version of the protocol (read-only)

proto_minor
uint proto_minor;

Minor version of the protocol (read-only)

reserved
uint[22] reserved;

For future use.

time_gran
uint time_gran;

When FUSE_CAP_WRITEBACK_CACHE is enabled, the kernel is responsible for updating mtime and ctime when write requests are received. The updated values are passed to the filesystem with setattr() requests. However, if the filesystem does not support the full resolution of the kernel timestamps (nanoseconds), the mtime and ctime values used by kernel and filesystem will differ (and result in an apparent change of times after a cache flush).

want
uint want;

Capability flags that the filesystem wants to enable.

Meta