Reliably Committing Data to the Media Through the Linux Kernel


With more coders than ever building applications for a Linux or Android environment, a knowledge of how to reliably commit the data to the media is of vital importance. This whitepaper explains details of the Linux write-behind cache, flush and fsync calls, barrier requests and file system ordered writes. It will also explore how file systems behave in these situations, focusing on two reliability techniques – journaling and transaction points.