Soules, Craig A.N. Goodson, Garth R. Strunk, John D. Ganger, Gregory R. Metadata Efficiency in a Comprehensive Versioning File System (CMU-CS-02-145) A comprehensive versioning file system creates and retains a new file version for every WRITE or other modification request. The resulting history of file modifications provides a detailed view to tools and administrators seeking to investigate a suspect system state. Conventional versioning systems do not efficiently record the many prior versions that result. In particular, the versioned metadata they keep consumes almost as much space as the versioned data. This paper examines two space-efficient metadata structures for versioning file systems and describes their integration into the Comprehensive Versioning File System (CVFS). Journal-based metadata encodes each metadata version into a single journal entry; CVFS uses this structure for inodes and indirect blocks, reducing the associated space requirements by 80%. Multiversion b-trees extend the per-entry key with a timestamp and keep current and historical entries in a single tree; CVFS uses this structure for directories, reducing the associated space requirements by 99%. Experiments with CVFS verify that its current-version performance is similar to that of non-versioning file systems. Although access to historical versions is slower than conventional versioning systems, checkpointing is shown to mitigate this effect. Data Storage 2002-05-01
    https://kilthub.cmu.edu/articles/journal_contribution/Metadata_Efficiency_in_a_Comprehensive_Versioning_File_System_CMU-CS-02-145_/6619685
10.1184/R1/6619685.v1