Skip to main navigation Skip to search Skip to main content

Model-checking support for file system development

  • Stony Brook University
  • Nimble Research
  • Harvey Mudd College

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

6 Scopus citations

Abstract

Developing and maintaining a file system is time-consuming, typically requiring years of effort. Developers often test compliance with APIs such as POSIX with hand-written regression suites that, alas, examine only a fraction of a file system's state space. Conversely, formal model checking can explore vast state spaces efficiently, increasing confidence in the file system's implementation. Yet model checking is not currently part of file system development. Our position is that file systems should be designed a priori to facilitate model checking. To this end, we introduce MCFS, an architecture for efficient and comprehensive file-system model checking. MCFS relies on two new APIs that save and restore a file system's in-memory and on-disk state. We describe our earlier attempts at model-checking file systems, including unsuccessful or inefficient ones. Those attempts led us to develop VeriFS, which implements the new APIs. We illustrate MCFS's model-checking principles with VeriFS, a FUSE-based file system we were able to quickly develop with MCFS's help.

Original languageEnglish
Title of host publicationHotStorage 2021 - Proceedings of the 13th ACM Workshop on Hot Topics in Storage and File Systems
PublisherAssociation for Computing Machinery, Inc
Pages103-110
Number of pages8
ISBN (Electronic)9781450385503
DOIs
StatePublished - Jul 20 2021
Event13th ACM Workshop on Hot Topics In Storage and File Systems, HotStorage 2021 - Virtual, Online, United States
Duration: Jul 27 2021Jul 28 2021

Publication series

NameHotStorage 2021 - Proceedings of the 13th ACM Workshop on Hot Topics in Storage and File Systems

Conference

Conference13th ACM Workshop on Hot Topics In Storage and File Systems, HotStorage 2021
Country/TerritoryUnited States
CityVirtual, Online
Period07/27/2107/28/21

Keywords

  • File systems
  • Model checking
  • Verification

Fingerprint

Dive into the research topics of 'Model-checking support for file system development'. Together they form a unique fingerprint.

Cite this