doc/ChangeLog-API.rst
This document describes API changes between FUSE_USE_VERSION values. Set FUSE_USE_VERSION before including fuse.h or fuse_lowlevel.h.
fuse_lib_help() - Print help for generic high-level FUSE optionsfuse_invalidate_path() - Cache invalidation from high-level APIfuse_new() signature changed; applications should call fuse_lib_help()
for --help instead of passing it to fuse_new()fuse_loop_mt() and fuse_session_loop_mt() now take a
struct fuse_loop_config * parameter instead of a clone_fd boolean.
The struct is public and can be directly initialized.Note: This change was implemented in libfuse release 3.1.1, but the API version that enables it is 32.
fuse_open_channel() - Open a FUSE file descriptor and set up mount
(allows passing open /dev/fuse fd via /dev/fd/%u mountpoint format)copy_file_range - Efficient server-side file copyingfuse_fs_copy_file_range() - High-level API wrapperioctl handler: cmd parameter changed from int to unsigned int
int cmd prototypeunsigned int cmd prototypefuse_set_log_func() - Install custom log message handlerfuse_log() - Emit log messages (replaces direct stderr writes)lseek - Find next data or hole in sparse files (SEEK_DATA/SEEK_HOLE)fuse_fs_lseek() - High-level API wrapperfuse_reply_lseek() - Low-level reply functionstruct fuse_loop_config is now private (opaque pointer)struct fuse_loop_config_v1fuse_loop_cfg_create() - Create loop configurationfuse_loop_cfg_destroy() - Free loop configurationfuse_loop_cfg_set_idle_threads() - Set max idle threadsfuse_loop_cfg_set_max_threads() - Set max total threadsfuse_loop_cfg_set_clone_fd() - Enable/disable clone_fdfuse_loop_cfg_convert() - Convert old config (v1) to new formatfuse_lowlevel_notify_expire_entry() - Expire dentry without full invalidationfuse_session_loop_mt() now accepts NULL config pointerfuse_parse_cmdline() now accepts max_threads optionmax_idle_threads parameter (use max_threads instead)fuse_set_fail_signal_handlers() - Handle fatal signals with backtracefuse_log_enable_syslog() - Redirect fuse_log() to syslogfuse_log_close_syslog() - Close syslog connectionfuse_passthrough_open() - Setup passthrough backing filefuse_passthrough_close() - Close passthrough connectionfuse_session_custom_io() - Custom I/O for FUSE daemon (signature extended)FUSE_CAP_PASSTHROUGH - Enable passthrough read/write to backing fileFUSE_CAP_HANDLE_KILLPRIV_V2 - Support for KILLPRIV_V2fmask - umask applied to non-directories (high-level API)dmask - umask applied to directories (high-level API)fuse_set_feature_flag() - Set capability in want_ext fieldfuse_unset_feature_flag() - Unset capability in want_ext fieldfuse_get_feature_flag() - Query capability in want_ext fieldNote: These replace direct manipulation of conn->want for 64-bit capability support.
statx - Extended file attributes (struct statx support)fuse_fs_statx() - High-level API wrapperfuse_reply_statx() - Low-level reply functionfuse_req_is_uring() - Check if request uses fuse-over-io-uringfuse_req_get_payload() - Get request payload buffer (io-uring only)fuse_lowlevel_notify_increment_epoch() - Increment epoch counter(Reserved for future use)
When upgrading FUSE_USE_VERSION: