Skip to main navigation Skip to search Skip to main content

Metis: File System Model Checking via Versatile Input and State Exploration

  • Stony Brook University
  • Nimble Research
  • Harvey Mudd College

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

4 Scopus citations

Abstract

We present Metis, a model-checking framework designed for versatile, thorough, yet configurable file system testing in the form of input and state exploration. It uses a nondeterministic loop and a weighting scheme to decide which system calls and their arguments to execute. Metis features a new abstract state representation for file-system states in support of efficient and effective state exploration. While exploring states, it compares the behavior of a file system under test against a reference file system and reports any discrepancies; it also provides support to investigate and reproduce any that are found. We also developed RefFS, a small, fast file system that serves as a reference, with special features designed to accelerate model checking and enhance bug reproducibility. Experimental results show that Metis can flexibly generate test inputs; also the rate at which it explores file-system states scales nearly linearly across multiple nodes. RefFS explores states 3–28× faster than other, more mature file systems. Metis aided the development of RefFS, reporting 11 bugs that we subsequently fixed. Metis further identified 12 bugs from five other file systems, five of which were confirmed and with one fixed and integrated into Linux.

Original languageEnglish
Title of host publicationProceedings of the 22nd USENIX Conference on File and Storage Technologies, FAST 2024
PublisherUSENIX Association
Pages123-140
Number of pages18
ISBN (Electronic)9781939133380
StatePublished - 2024
Event22nd USENIX Conference on File and Storage Technologies, FAST 2024 - Santa Clara, United States
Duration: Feb 27 2024Feb 29 2024

Publication series

NameProceedings of the 22nd USENIX Conference on File and Storage Technologies, FAST 2024

Conference

Conference22nd USENIX Conference on File and Storage Technologies, FAST 2024
Country/TerritoryUnited States
CitySanta Clara
Period02/27/2402/29/24

Fingerprint

Dive into the research topics of 'Metis: File System Model Checking via Versatile Input and State Exploration'. Together they form a unique fingerprint.

Cite this