{
  "slug": "fuse",
  "term": "FUSE",
  "aliases": [
    "Filesystem in Userspace",
    "File system in userspace"
  ],
  "definition": "FUSE connects a kernel filesystem interface to a userspace daemon that implements filesystem operations.",
  "note": "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. [fuse-kernel]\n\nLinux v6.12 starts with a 32-page default request limit; FUSE_MAX_PAGES negotiation can raise it, capped at 256 pages. [fuse-init-source] [fuse-limits-source] Its fuse_readahead path uses the smaller of the negotiated page limit and max_read divided by PAGE_SIZE. [fuse-read-source] 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. [fuse-kernel]\n\nIn 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. [fuse-io] Persistence depends on the daemon and its backend, not on the framework name. [libfuse-api] This filesystem interface is unrelated to binary fuse filters.\n\nLinux 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. [fuse-dir-source] [libfuse-dispatch]\n\nDFUSE 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. [dfuse-socc25]",
  "related": [
    "fuse-writeback-cache",
    "fuse-flush",
    "page-cache",
    "fsync",
    "directory-fsync",
    "fuse-background-limit",
    "fuse-interrupt"
  ],
  "citations": [
    {
      "id": "libfuse-api",
      "title": "libfuse 3.16.2: low-level open, flush, release and fsync contracts",
      "url": "https://github.com/libfuse/libfuse/blob/fuse-3.16.2/include/fuse_lowlevel.h",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela-fuse",
      "title": "Hesela: FUSE writeback caching and the fsync contract",
      "url": "https://hesela.com/analyses/fuse-writeback-cache-fsync/",
      "accessed": "2026-10-18"
    },
    {
      "id": "fuse-kernel",
      "title": "Linux kernel 7.3.0 documentation: FUSE, sections 1.2-1.9",
      "url": "https://docs.kernel.org/filesystems/fuse/fuse.html",
      "accessed": "2026-10-26"
    },
    {
      "id": "fuse-io",
      "title": "Linux kernel 7.3.0 documentation: FUSE I/O Modes",
      "url": "https://docs.kernel.org/filesystems/fuse/fuse-io.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "fuse-dir-source",
      "title": "Linux v6.12: fuse_dir_fsync and no_fsyncdir handling",
      "url": "https://github.com/torvalds/linux/blob/v6.12/fs/fuse/dir.c",
      "accessed": "2026-10-25"
    },
    {
      "id": "libfuse-dispatch",
      "title": "libfuse 3.16.2: do_fsyncdir and an absent low-level callback",
      "url": "https://github.com/libfuse/libfuse/blob/fuse-3.16.2/lib/fuse_lowlevel.c",
      "accessed": "2026-10-25"
    },
    {
      "id": "fuse-init-source",
      "title": "Linux v6.12: fuse_conn_init and process_init_reply request-page negotiation",
      "url": "https://github.com/torvalds/linux/blob/v6.12/fs/fuse/inode.c",
      "accessed": "2026-10-25"
    },
    {
      "id": "fuse-limits-source",
      "title": "Linux v6.12: default and maximum FUSE request-page constants",
      "url": "https://github.com/torvalds/linux/blob/v6.12/fs/fuse/fuse_i.h",
      "accessed": "2026-10-25"
    },
    {
      "id": "fuse-read-source",
      "title": "Linux v6.12: fuse_readahead and direct-I/O request limits",
      "url": "https://github.com/torvalds/linux/blob/v6.12/fs/fuse/file.c",
      "accessed": "2026-10-25"
    },
    {
      "id": "dfuse-socc25",
      "title": "Li et al.: DFUSE, SoCC 2025, sections 3-6; DOI 10.1145/3772052.3772208",
      "url": "https://arxiv.org/html/2503.18191v3",
      "accessed": "2026-10-25"
    }
  ],
  "status": "shipping",
  "advantages": [
    {
      "text": "Non-privileged users can mount filesystems implemented as ordinary processes.",
      "citationIds": [
        "fuse-kernel"
      ]
    },
    {
      "text": "A broken or deadlocked daemon can be handled by killing it or by a forced unmount while the filesystem is still attached.",
      "citationIds": [
        "fuse-kernel"
      ]
    }
  ],
  "limitations": [
    {
      "text": "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.",
      "citationIds": [
        "fuse-kernel"
      ]
    },
    {
      "text": "Partial-page writes in writeback-cache mode make the kernel issue READ requests even for files opened write-only.",
      "citationIds": [
        "fuse-io"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-29",
  "provenance": [
    "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."
  ]
}
