MoobFS

Updated 2026-11-12

Status

The kernel documents what it expects before a new filesystem is considered (Documentation/filesystems/adding-new-filesystems.rst). MoobFS is out of tree and experimental; this page answers those questions honestly, as of the date below.

QuestionAnswer
What does it do that existing filesystems do not? Why is FUSE not enough?Typed attributes validated by the kernel, an in-kernel index of them, and a query authorized by file permissions, over an unchanged ext4, btrfs or XFS tree. FUSE was considered and rejected for this design (ADR-0001); a user-space index kept by inotify was built and measured as the alternative (journal 0094).
Modern kernel interfaces (iomap, folios)Not applicable to the layer: it has no block mapping of its own and delegates data I/O to the lower filesystem through the kernel's backing-file helpers, as overlayfs does.
mkfs and fsckNo on-disk format of its own. moobfs-check verifies the typed attributes of a tree and lists the files left out of query answers.
fstestsThe generic quick group passes on ext4, btrfs and XFS below the layer, with a documented exclusion list (journal 0091). The initial auto run identified only inapplicable-test failures (journal 0239); the rerun with justified exclusions passed on all three with zero failures: ext4 229 pass/549 skipped, btrfs 339/436, XFS 372/406 (journal 0248). Skips are not executed tests.
Sanitizers and fuzzingKASAN, UBSAN and lockdep on every pull request that touches the module (required before merge); allocation-failure injection inside the module (journal 0096); syzkaller, seven six-hour runs, the second to seventh with no report (journal 0109, journal 0133, journal 0138, journal 0143, journal 0239); libFuzzer over the attribute encoding, the image parser and the tools' parsers, 30 s per target on every pull request, and a workflow for 45 minutes per target twice a week, its first manual GitHub run passed on 29 October and its first scheduled run passed on 31 October, with logs and artifacts verified on 3 November (journal 0237, journal 0262).
MaintainersOne. The kernel asks for two or more: this is the main reason we are looking for collaborators.
UsersTest clients only: an agent-memory tool and a LangGraph store, both with answers equal to their own storage (journal 0088, journal 0089). No production users; it is not ready for them.
Kernel versions and architecturesThree series on x86-64, in virtual machines: 6.12, and Ubuntu 26.04's 7.0 and Debian's 7.3 for the layer module only (journal 0277, journal 0281). The attribute encoding and the image tools also pass their tests on big-endian s390x under emulation, on every pull request; on arm64, under emulation and without KVM, the module passes the ext4, btrfs and XFS steps under KASAN in an exploratory job (journal 0137); on a big-endian kernel, in an s390x guest under KVM on IBM LinuxONE Community Cloud, the full suite passed on Debian's 6.12.111, the ext4, btrfs and XFS steps passed under KASAN, and trees written on a little-endian machine read the same (exploratory, not a supported kernel, journal 0280).
Corrections from the 2026-10-20 reviewThe corrections are on main. They synchronize backing-file flags after F_SETFL (R1) and propagate operational getxattr errors (R2). v0.4.1-experimental still contains both original defects; v0.5.0-experimental has the corrections. The full integrated VM suite at 49098aa passed: clearing and setting append on ext4, btrfs and XFS, the injected-error regression, and acceptance/layer suites. Negative rounds detected both defects. The full local KASAN/UBSAN/lockdep suite also passed on Linux 6.12.112, and the required pull-request checks passed before that batch merged. Injected results do not reproduce a real lower-I/O fault (R1, R2).
Unprivileged query costAn authorized QUERY2 can build a domain. main bounds that build with index_build_work (default 32,768 units; a mounter may choose 1,024–65,536), a cooperative deadline of ten seconds of the builder’s CPU time with a 120 s elapsed backstop, and rebuild-frequency limits. The default denies the measured 17,000-file domain. The earlier deadline counted elapsed time and refused builds over a slow lower (journal 0210, journal 0238); ADR-0031, proposed, counts CPU time (journal 0241). These are not strict CPU or physical-I/O caps, and they are not fair memory shares (ADR-0019, ADR-0020, journal 0193).
SecurityA written threat model (ADR-0011) with every finding recorded; private reporting through SECURITY.md. An external reviewer's AI-assisted private reports found three kernel defects, fixed in journal 0215, journal 0216 and journal 0218 with regression tests. Reviews so far are automated tools and AI-assisted reviews; there is no independent human review of the kernel code. Stage 2 rests on automated coverage and triaged findings; since 18 November stage 3 rests on two independent AI-assisted reviews of the credential paths and the QUERY2 authorization, made with different tools, instead of a human review, which remains welcome (ADR-0030, ADR-0042).