Verifying the DaisyNFS concurrent and crash-safe file system with sequential reasoning
Tej Chajed, Joseph Tassarotti, Mark Theng, M. Frans Kaashoek, Nickolai Zeldovich
摘要
This paper develops a new approach to verifying a performant file system that isolates crash safety and concurrency reasoning to a transaction system that gives atomic access to the disk, so that the rest of the file system can be verified with sequential reasoning.
We demonstrate this approach in DaisyNFS, a Network File System (NFS) server written in Go that runs on top of a disk. DaisyNFS uses GoTxn, a new verified, concurrent transaction system that extends GoJournal [9] with two-phase locking and an allocator. The transaction system's specification formalizes under what conditions transactions can be verified with only sequential reasoning, and comes with a mechanized proof in Coq [37] that connects the specification to the implementation.
As evidence that proofs enjoy sequential reasoning, DaisyNFS uses Dafny [26], a sequential verification language, to implement and verify all the NFS operations on top of GoTxn. The sequential proofs helped achieve a number of good properties in DaisyNFS: easy incremental development (for example, adding support for large files), a relatively short proof (only 2× as many lines of proof as code), and a performant implementation (at least 60% the throughput of the Linux NFS server exporting ext4 across a variety of benchmarks).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Anvil: Verifying Liveness of Cluster Management Controllers 引用了 GoJournal: a verified, concurrent, crash-safe journaling system
- Anvil: Verifying Liveness of Cluster Management Controllers 引用了 Storage Systems are Distributed Systems (So Verify Them That Way!)
- Anvil: Verifying Liveness of Cluster Management Controllers 引用了 Verifying vMVCC, a high-performance transaction library using multi-version concurrency control
- GoJournal: a verified, concurrent, crash-safe journaling system 引用了 Storage Systems are Distributed Systems (So Verify Them That Way!)
- Automated Verification of Idempotence for Stateful Serverless Applications 引用了 GoJournal: a verified, concurrent, crash-safe journaling system
- Automated Verification of Idempotence for Stateful Serverless Applications 引用了 Storage Systems are Distributed Systems (So Verify Them That Way!)
- Verifying vMVCC, a high-performance transaction library using multi-version concurrency control 引用了 GoJournal: a verified, concurrent, crash-safe journaling system
引用它的顶会 Paper15
- Anvil: Verifying Liveness of Cluster Management ControllersXudong Sun, Wenjie Ma, Jiawei Tyler Gu, Zicheng Ma 等OSDI 2024 · 50 次引用
- Automated Verification of Idempotence for Stateful Serverless ApplicationsHaoran Ding, Zhaoguo Wang, Zhuohao Shen, Rong Chen 等OSDI 2023 · 16 次引用
- Verifying vMVCC, a high-performance transaction library using multi-version concurrency controlYun-Sheng Chang, Ralf Jung, Upamanyu Sharma, Joseph Tassarotti 等OSDI 2023 · 16 次引用
- Compiling Distributed System Models with PGoA. Finn Hackett, Shayan Hosseini, Renato Costa, Matthew Do 等ASPLOS 2023 · 13 次引用
- OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System VerificationShangyu Li, Juyong Jiang, Tiancheng Zhao, Jiasi ShenAAAI 2026 · 10 次引用
它引用的 Paper2
相关 Paper
- Using Dynamically Layered Definite Releases for Verifying the RefFS File SystemMo Zou, Dong Du, Mingkai Dong, Haibo ChenOSDI 2024 · 4 次引用
- Verifying a high-performance distributed transaction system using permissioned state machinesYun-Sheng Chang, Joseph Tassarotti, Frans Kaashoek, Nickolai ZeldovichSOSP 2026
- Determinizing Crash Behavior with a Verified Snapshot-Consistent Flash Translation LayerYun-Sheng Chang, Yao Hsiao, Tzu-Chi Lin, Che-Wei Tsao 等OSDI 2020 · 7 次引用
- Compositionality and Observational Refinement for Linearizability with CrashesArthur Oliveira Vale, Zhongye Wang, Yixuan Chen, Peixin You 等OOPSLA 2024 · 1 次引用
- CrossFS: A Cross-layered Direct-Access File SystemYujie Ren, Changwoo Min, Sudarsun KannanOSDI 2020 · 35 次引用
