Lune

USENIX ATC2020Top-tier venue

Can Applications Recover from fsync Failures?

Anthony Rebello, Yuvraj Patel, Ramnatthan Alagappan, Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-Dusseau

Abstract

We analyze how file systems and modern data-intensive applications react to fsync failures. First, we characterize how three Linux file systems (ext4, XFS, Btrfs) behave in the presence of failures. We find commonalities across file systems (pages are always marked clean, certain block writes always lead to unavailability), as well as differences (page content and failure reporting is varied). Next, we study how five widely used applications (PostgreSQL, LMDB, LevelDB, SQLite, Redis) handle fsync failures. Our findings show that although applications use many failure-handling strategies, none are sufficient: fsync failures can cause catastrophic outcomes such as data loss and corruption. Our findings have strong implications for the design of file systems and applications that intend to provide strong durability guarantees.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Sync+Sync: A Covert Channel Built on fsync with Storage cites MadFS: Per-File Virtualization for Userspace Persistent Memory Filesystems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. MadFS: Per-File Virtualization for Userspace Persistent Memory FilesystemsShawn Zhong, Chenhao Ye, Guanzhou Hu, Suyan Qu et al.FAST 2023 · 27 citations
  2. Modernizing File System through In-Storage IndexingJinhyung Koo, Junsu Im, Jooyoung Song, Juhyung Park et al.OSDI 2021 · 27 citations
  3. Scale and Performance in a Filesystem Semi-MicrokernelJing Liu, Anthony Rebello, Yifan Dai, Chenhao Ye et al.SOSP 2021 · 14 citations
  4. Sync+Sync: A Covert Channel Built on fsync with StorageQisheng Jiang, Chundong WangUSENIX Security 2024 · 12 citations
  5. TL4x: Buffered Durable Transactions on Disk as Fast as in MemoryGal Assa, Andreia Correia, Pedro Ramalhete, Valerio Schiavoni et al.PPoPP 2023 · 8 citations

Related papers

  1. When Amnesia Strikes: Understanding and Reproducing Data Loss Bugs with Fault InjectionMaria Ramos, João Azevedo, Kyle Kingsbury, José Pereira et al.VLDB 2024 · 2 citations
  2. Fawkes: Finding Data Durability Bugs in DBMSs via Recovered Data State VerificationZhiyong Wu, Jie Liang, Jingzhou Fu, Wenqian Deng et al.SOSP 2025 · 1 citation
  3. Asynchronous Prefix Recoverability for Fast Distributed StoresTianyu Li, Badrish Chandramouli, Jose M. Faleiro, Samuel Madden et al.SIGMOD 2021 · 7 citations
  4. CJFS: Concurrent Journaling for Better ScalabilityJoontaek Oh, Seung Won Yoo, Hojin Nam, Changwoo Min et al.FAST 2023
  5. UniStore: A fault-tolerant marriage of causal and strong consistencyManuel Bravo, Alexey Gotsman, Borja de Régil, Hengfeng WeiUSENIX ATC 2021 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines