Push-Button Verification of File Systems via Crash Refinement

Authors: 

Helgi Sigurbjarnarson, James Bornholt, Emina Torlak, and Xi Wang, University of Washington

Best Paper at OSDI '16: Link to Paper

Abstract: 

The file system is an essential operating system component for persisting data on storage devices. Writing bug-free file systems is non-trivial, as they must correctly implement and maintain complex on-disk data structures even in the presence of system crashes and reorderings of disk operations.

This paper presents Yggdrasil, a toolkit for writing file systems with push-button verification: Yggdrasil requires no manual annotations or proofs about the implementation code, and it produces a counterexample if there is a bug. Yggdrasil achieves this automation through a novel definition of file system correctness called crash refinement, which requires the set of possible disk states produced by an implementation (including states produced by crashes) to be a subset of those allowed by the specification. Crash refinement is amenable to fully automated satisfiability modulo theories (SMT) reasoning, and enables developers to implement file systems in a modular way for verification.

With Yggdrasil, we have implemented and verified the Yxv6 journaling file system, the Ycp file copy utility, and the Ylog persistent log. Our experience shows that the ease of proof and counterexample-based debugging support make Yggdrasil practical for building reliable storage applications.

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 {204150,
author = {Helgi Sigurbjarnarson and James Bornholt and Nicolas Christin and Lorrie Faith Cranor},
title = {{Push-Button} Verification of File Systems via Crash Refinement},
booktitle = {2017 USENIX Annual Technical Conference (USENIX ATC 17)},
year = {2017},
address = {Santa Clara, CA},
url = {https://www.usenix.org/conference/atc17/technical-sessions/presentation/sigurbjarnarson},
publisher = {USENIX Association},
month = jul
}

Presentation Audio