fuse · shipping · also Filesystem in Userspace, File system in userspace

FUSE

FUSE connects a kernel filesystem interface to a userspace daemon that implements filesystem operations.

A kernel module, userspace library and mount utility connect the daemon through /dev/fuse. Access defaults to the mounting user. allow_other lifts this restriction, normally for root unless configured otherwise; default_permissions enables kernel file-mode checks. [3]

Linux v6.12 starts with a 32-page default request limit; FUSE_MAX_PAGES negotiation can raise it, capped at 256 pages. [7] [8] Its fuse_readahead path uses the smaller of the negotiated page limit and max_read divided by PAGE_SIZE. [9] The fuseblk default block size is a separate 512-byte setting. /sys/fs/fuse/connections exposes waiting counts, background limits and an abort control that fails pending and new requests. [3]

In direct-io mode the page cache is bypassed, while cached mode is write-through by default and writeback-cache must be negotiated at initialization. Writeback-cache mode assumes all changes pass through the kernel module, so it is generally unsuitable for network filesystems. [4] Persistence depends on the daemon and its backend, not on the framework name. [1] This filesystem interface is unrelated to binary fuse filters.

Linux v6.12 maps a FUSE_FSYNCDIR ENOSYS reply to success and caches no_fsyncdir for that connection, separate from the regular-file no_fsync flag. libfuse 3.16.2's low-level dispatcher sends ENOSYS when fsyncdir is absent. This does not prove a namespace change was lost or persisted; inspect the backend contract. [5] [6]

DFUSE coordinates distributed leases inside a modified FUSE driver to support coherent writeback across clients. It is not a stock mount option or a generic persistence guarantee. [10]

Relations

related
FUSE writeback-cache, FUSE FLUSH, Page cache, fsync, Directory fsync, FUSE background request limit, FUSE INTERRUPT

Advantages

  • Non-privileged users can mount filesystems implemented as ordinary processes. [3]
  • A broken or deadlocked daemon can be handled by killing it or by a forced unmount while the filesystem is still attached. [3]

Limitations

  • When an interrupted request has reached the daemon, the kernel queues a separate INTERRUPT request, which the daemon may ignore; a fatal signal before dispatch can instead remove the original request. [3]
  • Partial-page writes in writeback-cache mode make the kernel issue READ requests even for files opened write-only. [4]

Citations

  1. libfuse 3.16.2: low-level open, flush, release and fsync contracts (accessed 2026-10-23)
  2. Linux kernel 7.3.0 documentation: FUSE, sections 1.2-1.9 (accessed 2026-10-26)
  3. Linux kernel 7.3.0 documentation: FUSE I/O Modes (accessed 2026-10-23)
  4. Linux v6.12: fuse_dir_fsync and no_fsyncdir handling (accessed 2026-10-25)
  5. libfuse 3.16.2: do_fsyncdir and an absent low-level callback (accessed 2026-10-25)
  6. Linux v6.12: fuse_conn_init and process_init_reply request-page negotiation (accessed 2026-10-25)
  7. Linux v6.12: default and maximum FUSE request-page constants (accessed 2026-10-25)
  8. Linux v6.12: fuse_readahead and direct-I/O request limits (accessed 2026-10-25)
  9. Li et al.: DFUSE, SoCC 2025, sections 3-6; DOI 10.1145/3772052.3772208 (accessed 2026-10-25)

Further reading

  1. Hesela: FUSE writeback caching and the fsync contract (accessed 2026-10-18)
Sources & caveats
  • fuse-kernel is the Linux kernel 7.3.0 FUSE documentation, read for components, mount options, the control filesystem, interrupts and connection abort.
  • fuse-io is the Linux kernel 7.3.0 FUSE I/O modes page, read for direct-io, write-through and writeback-cache behavior.
  • libfuse-api is the libfuse 3.16.2 low-level header, re-read for the open, flush, release and fsync contracts.
  • The buffered-io entry links here because cached FUSE modes route reads and writes through the page cache.
  • Directory-sync support was checked in Linux v6.12 and libfuse 3.16.2 source; no daemon was mounted or crash-tested.
  • The overview's unconditional 32-page sentence conflicts with v6.12 source: a 32-page default, FUSE_MAX_PAGES negotiation capped at 256, and a separate max_read bound in fuse_readahead. Source review, not a mounted-daemon test or a guarantee for other versions.
  • DFUSE SoCC 2025, sections 3-6, read as a protocol-extension example; no replication or crash test performed.
  • On 2026-10-26, FUSE overview section 1.5.1 was rechecked to distinguish fatal-signal cancellation before dispatch from a queued INTERRUPT after transfer to userspace.

JSON: /data/terms/fuse.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. FUSE. Hesela. 2026-11-29. https://hesela.dev/terms/fuse/