Fast and Synchronous Crash Consistency with Metadata Write-Once File System

Yanqi Pan, Wen Xia, Yifeng Zhang, Xiangyu Zou, and Hao Huang, Harbin institute of Technology, Shenzhen; Zhenhua Li, Tsinghua University; Chentao Wu, Shanghai Jiao Tong University

Low-latency persistent memory (PM) encourages file systems to pursue synchronous crash consistency. However, existing crash consistency approaches, such as journaling and log structure file system, incur many small, random, and ordered metadata I/Os, failing to exploit PM I/O potential. We propose a new file system model called metadata write-once file system (WOFS) to achieve fast and synchronous crash consistency. The key idea is to generate specific metadata for each file operation as a checksum-protected package and write it once with a single ordering point. The package is then managed to provide file abstractions through a package translation layer without extra writes. Using an array of techniques to generate, organize, and recover from packages, WOFS can provide practical, efficient, and reliable file system services. We implement WOLVES as a WOFS prototype in Linux kernel. Experiments using benchmarks and applications suggest that WOLVES can recover from crashes, improve operation throughput, and potentially reach PM I/O bandwidth limits.

OSDI '25 Open Access Sponsored by
King Abdullah University of Science and Technology (KAUST)

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

BibTeX
@inproceedings {308790,
author = {Yanqi Pan and Wen Xia and Yifeng Zhang and Xiangyu Zou and Hao Huang and Zhenhua Li and Chentao Wu},
title = {Fast and Synchronous Crash Consistency with Metadata {Write-Once} File System},
booktitle = {19th USENIX Symposium on Operating Systems Design and Implementation (OSDI 25)},
year = {2025},
isbn = {978-1-939133-47-2},
address = {Boston, MA},
pages = {859--878},
url = {https://www.usenix.org/conference/osdi25/presentation/pan},
publisher = {USENIX Association},
month = jul
}

Presentation Video