Skip to main navigation Skip to search Skip to main content

Input and Output Coverage Needed in File System Testing

  • Stony Brook University
  • Harvey Mudd College

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

3 Scopus citations

Abstract

File systems need testing to discover bugs and to help ensure reliability. Many file system testing tools are evaluated based on their code coverage. We analyzed recently reported bugs in Ext4 and BtrFS and found a weak correlation between code coverage and test effectiveness: many bugs are missed because they depend on specific inputs, even though the code was covered by a test suite. Our position is that coverage of system call inputs and outputs is critically important for testing file systems. We thus suggest input and output coverage as criteria for file system testing, and show how they can improve the effectiveness of testing. We built a prototype called IOCov to evaluate the input and output coverage of file system testing tools. IOCov identified many untested cases (specific inputs and outputs or ranges thereof) for both CrashMonkey and xfstests. Additionally, we discuss a method and associated metrics to identify over- and under-testing using IOCov.

Original languageEnglish
Title of host publicationHotStorage 2023 - Proceedings of the 2023 15th ACM Workshop on Hot Topics in Storage and File Systems
PublisherAssociation for Computing Machinery, Inc
Pages93-101
Number of pages9
ISBN (Electronic)9798400702242
DOIs
StatePublished - Jul 9 2023
Event2023 15th ACM Workshop on Hot Topics in Storage and File Systems, HotStorage 2023 - Boston, United States
Duration: Jul 9 2023 → …

Publication series

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

Conference

Conference2023 15th ACM Workshop on Hot Topics in Storage and File Systems, HotStorage 2023
Country/TerritoryUnited States
CityBoston
Period07/9/23 → …

Keywords

  • code coverage
  • file system testing
  • input coverage
  • output coverage

Fingerprint

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

Cite this