ByVFS
ByVFS is a research modification of Linux pathname lookup that bypasses the dentry cache for persistent-memory filesystems while retaining inode caching.
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. [1]
A 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. [1]
Without 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. [1]
The 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. [1]
Relations
Limitations
- The study does not establish a drop-in optimization for current kernels or a generally safe removal of VFS synchronization. [1, 2]
Citations
- 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.
- Linux v6.16: pathname lookup, dcache responsibilities and concurrency
Sources & caveats
- 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/