{
  "slug": "byvfs",
  "term": "ByVFS",
  "aliases": [
    "ByVFS metadata-cache bypass"
  ],
  "definition": "ByVFS is a research modification of Linux pathname lookup that bypasses the dentry cache for persistent-memory filesystems while retaining inode caching.",
  "note": "The prototype changes Linux 4.3.0 and NOVA. It reads directory metadata through the filesystem; this is not ordinary file-data page-cache bypass. [byvfs18]\n\nA persistent inode holds a pointer to its volatile cached inode. Mount and inode version numbers distinguish an earlier mount's pointer; a mismatch triggers reconstruction. Persisting an address does not preserve its target. [byvfs18]\n\nWithout cached parent links, getcwd searches parent-directory entries. Replacement concurrency control and more efficient syscall support remained future work. A shorter lookup path is not a demonstrated substitute for those guarantees. [byvfs18]\n\nThe evaluation used NUMA-based NVM emulation, not physical persistent-memory devices. With the reported workloads, du, find and rm became faster, but ls and cp became slower. Warm-cache access also slightly regressed. Cache state and operation mix matter. [byvfs18]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "The study does not establish a drop-in optimization for current kernels or a generally safe removal of VFS synchronization.",
      "citationIds": [
        "byvfs18",
        "linux-path"
      ]
    }
  ],
  "related": [
    "virtual-filesystem",
    "dentry",
    "nova"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "byvfs18",
      "title": "Ying Wang, Dejun Jiang and Jin Xiong. Caching or Not: Rethinking Virtual File System for Non-Volatile Main Memory. HotStorage 2018, sections 3-4 and 6.",
      "url": "https://files.usenix.org/s3fs-public/cdn/hotstorage18-paper-wang.pdf",
      "accessed": "2026-12-01"
    },
    {
      "id": "linux-path",
      "title": "Linux v6.16: pathname lookup, dcache responsibilities and concurrency",
      "url": "https://github.com/torvalds/linux/blob/038d61fd642278bab63ee8ef722c50d10ab01e8f/Documentation/filesystems/path-lookup.rst",
      "accessed": "2026-12-01"
    }
  ],
  "updated": "2026-12-01",
  "provenance": [
    "Historical prototype review, not a native benchmark or crash test. PDF SHA-256: 56f69592a6aa98701fb43c8203b7d064f18350b6382076d99bc561fa6cae984a.",
    "Related persistence background: https://hesela.com/analyses/pmem-persistence-domains-dax/"
  ]
}
