libfuse
|
#include <fuse_common.h>
Data Fields | |
unsigned | proto_major |
unsigned | proto_minor |
unsigned | max_write |
unsigned | max_read |
unsigned | max_readahead |
unsigned | capable |
unsigned | want |
unsigned | max_background |
unsigned | congestion_threshold |
unsigned | time_gran |
unsigned | reserved [22] |
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.
unsigned fuse_conn_info::capable |
Capability flags that the kernel supports (read-only)
unsigned fuse_conn_info::congestion_threshold |
Kernel congestion threshold parameter
unsigned fuse_conn_info::max_background |
Maximum number of backgrounded requests
unsigned fuse_conn_info::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.
NOTE: For the time being, the maximum size of read requests must be set both here and passed to fuse_session_new() using the -o max_read=<n>
mount option. At some point in the future, specifying the mount option will no longer be necessary.
unsigned fuse_conn_info::max_readahead |
Maximum readahead
unsigned fuse_conn_info::max_write |
Maximum size of the write buffer
unsigned fuse_conn_info::proto_major |
Major version of the protocol (read-only)
unsigned fuse_conn_info::proto_minor |
Minor version of the protocol (read-only)
unsigned fuse_conn_info::reserved[22] |
For future use.
unsigned fuse_conn_info::time_gran |
Time granularity if kernel is responsible for setting times (in nsec)
Should be power of 10. A zero (default) value is equivalent to 1000000000 (1sec).
unsigned fuse_conn_info::want |
Capability flags that the filesystem wants to enable.
libfuse attempts to initialize this field with reasonable default values before calling the init() handler.