Skip to main navigation Skip to search Skip to main content

Enhanced File System Testing through Input and Output Coverage

  • Stony Brook University
  • Harvey Mudd College

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

Abstract

Effective file system testing relies on coverage to detect bugs and enhance reliability. We analyzed real file system bugs and found a weak correlation between code coverage, the most commonly used metric, and test effectiveness; many bugs were in covered code but remained undetected. Our study also showed that covering diverse file system inputs and outputs—system call arguments and return values—can be key to detecting the majority of observed bugs. We present input coverage and output coverage as new metrics for evaluating and improving file system testing, and have developed the IOCov framework for computing these metrics. Unlike existing system call tracers, IOCov computes coverage using only the calls relevant to testing, excluding unrelated ones that should not be counted. To demonstrate IOCov’s utility, we used it to extend the existing testing tool CrashMonkey into CM-IOCov, which achieves broader input coverage and more thorough detection of crash consistency bugs. Our experimental evaluation shows that IOCov computes input and output coverage accurately with minimal overhead. IOCov is applicable to different types of file system testing and can provide insights for improvement as well as identify untested cases based on coverage results. Moreover, the bugs found exclusively by CM-IOCov are 2.1 and 12.9 times more than those found exclusively by CrashMonkey on the 6.12 and 5.6 kernels, respectively, demonstrating the effectiveness of the IOCov-based coverage approach.

Original languageEnglish
Title of host publicationProceedings of the 18th ACM International Systems and Storage Conference, SYSTOR 2025
PublisherAssociation for Computing Machinery, Inc
Pages151-166
Number of pages16
ISBN (Electronic)9798400721199
DOIs
StatePublished - Sep 8 2025
Event18th ACM International Systems and Storage Conference, SYSTOR 2025 - Virtual, Online, Israel
Duration: Sep 8 2025Sep 9 2025

Publication series

NameProceedings of the 18th ACM International Systems and Storage Conference, SYSTOR 2025

Conference

Conference18th ACM International Systems and Storage Conference, SYSTOR 2025
Country/TerritoryIsrael
CityVirtual, Online
Period09/8/2509/9/25

Keywords

  • Crash Consistency
  • File System Testing
  • Input Coverage
  • Output Coverage

Fingerprint

Dive into the research topics of 'Enhanced File System Testing through Input and Output Coverage'. Together they form a unique fingerprint.

Cite this