All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Understanding Data Durability with the fsync System Call in Linux

By

RGBCube

10mo ago· 4 min readenInsight

Summary

The article discusses the durability guarantees provided by the fsync system call in Linux, particularly focusing on the potential data loss in mass-market SSDs and HDDs due to volatile write cache. It questions the necessity of enterprise-grade drives with additional power loss protection for ensuring data persistence.

Key quotes

· 3 pulled
Many mass-market SSDs and HDDs don't provide sufficient durability guarantees.
If you want any meaningful durability, you should go for enterprise-grade drives that have a battery/capacitor.
Let's check what POSIX.1-2017 specification says about fsync.
Snippet from the RSS feed
What kind of durability guarantees fsync system call provides in Linux? Let's find out.

You might also wanna read