CCFS
CCFS is a research filesystem that preserves update order within application-selected streams while allowing independent streams to commit separately.
Streams reduce false write dependencies: forcing one application's work need not flush unrelated work. CCFS adapts ext4 using hybrid-granularity journaling and order-preserving delayed allocation. This is a historical research design, not a stock ext4 option. [1]
Independence has limits. Creating a file depends on creation of its parent directory; pending related operations can temporarily merge streams. A stream identifies work, not permanent file ownership. [2]
The default API honors fsync. Its optional IGNORE_FSYNC mode requires explicit streamsync calls wherever durability is promised; ordering alone permits lost recent work. [2]
Relations
Limitations
- Hesela's finite example checks logical prerequisites only; it does not reproduce CCFS crash recovery or performance. [3]
- Different stream IDs do not isolate shared data: the prototype relates updates to the same regular file, explicit inode attributes, or the same directory-entry name. [2]
Citations
- Pillai et al. Application Crash Consistency and Performance with CCFS. FAST 2017, pp. 181-196.
- Pillai et al. CCFS, extended article. ACM TOS 13(3), 2017, article 19; sections 3.2, 3.5, 4.1 and 5. DOI: 10.1145/3119897.
- Hesela: CCFS stream dependencies and a finite recovery-state example
Sources & caveats
- Reviewed full papers, including API, implementation, evaluation and limitations. No native CCFS execution.