{
  "slug": "crossfs",
  "term": "CrossFS (OSDI 2020)",
  "aliases": [
    "CrossFS",
    "Cross-layered Direct-Access File System"
  ],
  "definition": "CrossFS is a research filesystem that orders I/O through file-descriptor queues across user-space, kernel and firmware components.",
  "note": "Disjoint updates can use separate FD-queues. Overlapping updates require ordering through an inode interval tree; this is not lock-free access. The OS still sets up queues and credentials. [paper]\n\nA file fsync places barriers across that inode's queues, so an empty issuing queue cannot bypass earlier writes elsewhere. The design logs references to persistent queue payloads instead of copying those payloads into the firmware journal. [paper]\n\nFirmFS was emulated as a kernel driver using host CPU cores and persistent memory. These measurements are not results from firmware running on a commercial SSD. Memory mapping remained future work. [paper]\n\nIn the pinned source, CRFS_OPENCLOSE_OPT returns a pooled buffer before the _NVMFDQ allocator branch. Enabling _NVMFDQ alone while leaving that option enabled still selects the pool. An isolated four-configuration probe reproduces the branch selection, not storage durability. [make] [code] [probe] [results]\n\nThe setup guide permits tmpfs for a quick queue-allocation trial. Volatile backing does not acquire power-loss persistence from a compiler flag. The README also reports incomplete bare-metal crash/recovery testing. [readme]\n\nThe 2020 direct-access design is distinct from the 2026 CrossFS paper about cross-domain CRDT metadata synchronization. [namesake]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "related": [
    "splitfs",
    "strata",
    "persistent-memory",
    "crash-consistency"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "paper",
      "title": "Ren, Min and Kannan. CrossFS: A Cross-layered Direct-Access File System. OSDI 2020, pp. 137-154, sections 4-6.",
      "url": "https://www.usenix.org/conference/osdi20/presentation/ren",
      "accessed": "2026-12-01"
    },
    {
      "id": "readme",
      "title": "CrossFS authors. README at 4ea9c88a84f90d039b32962d0ac7822025188136: setup and limitations.",
      "url": "https://github.com/RutgersCSSystems/CrossFS/blob/4ea9c88a84f90d039b32962d0ac7822025188136/README.md",
      "accessed": "2026-12-01"
    },
    {
      "id": "make",
      "title": "CrossFS authors. libfs/Makefile at 4ea9c88a84f90d039b32962d0ac7822025188136: compile-time options.",
      "url": "https://github.com/RutgersCSSystems/CrossFS/blob/4ea9c88a84f90d039b32962d0ac7822025188136/libfs/Makefile",
      "accessed": "2026-12-01"
    },
    {
      "id": "code",
      "title": "CrossFS authors. libfs/crfslibio.c at 4ea9c88a84f90d039b32962d0ac7822025188136: vfio_get_fd_queue_buffer.",
      "url": "https://github.com/RutgersCSSystems/CrossFS/blob/4ea9c88a84f90d039b32962d0ac7822025188136/libfs/crfslibio.c#L1157",
      "accessed": "2026-12-01"
    },
    {
      "id": "probe",
      "title": "Hesela: isolated CrossFS allocation-branch probe, method and reproduction commands.",
      "url": "https://hesela.dev/research/crossfs/README.md",
      "accessed": "2026-12-01"
    },
    {
      "id": "results",
      "title": "Hesela: four allocation configurations, zero-page controls and source hashes.",
      "url": "https://hesela.dev/research/crossfs/results.json",
      "accessed": "2026-12-01"
    },
    {
      "id": "namesake",
      "title": "Ke et al. CrossFS: Improving Cross-Domain File System Performance with CRDT-Based Metadata Synchronization. TOS 2026.",
      "url": "https://doi.org/10.1145/3777470",
      "accessed": "2026-12-01"
    },
    {
      "id": "hesela",
      "title": "Hesela: persistent-memory domains, Strata and SplitFS.",
      "url": "https://hesela.com/analyses/pmem-persistence-domains-dax/",
      "accessed": "2026-12-01"
    }
  ],
  "updated": "2026-12-01",
  "provenance": [
    "The full OSDI 2020 paper and pinned 2022 source snapshot were reviewed. The snapshot is not established as the exact experimental revision.",
    "The probe compiles one unchanged source function with stub allocators and locks. It tests control flow, not allocator correctness, persistence, recovery or benchmark performance.",
    "Only the 2026 namesake's publisher metadata and abstract support disambiguation; its methods and results are not evaluated."
  ]
}
