Filesystems and crash resistance
Filesystems and crash resistance
Posted May 22, 2019 15:40 UTC (Wed) by rweikusat2 (subscriber, #117920)In reply to: Filesystems and crash resistance by jake
Parent article: Filesystems and crash resistance
This text is ten years old and entirely generic. Additionally, the conclusion
This is because it is very difficult to map backward from a given file to the dirty file system blocks needing to be written to disk in order to create a consistent file system containing those changes. For example, the block containing the bitmap for newly allocated file data blocks may also have been changed by a later allocation for a different file, which then requires that we also write out the indirect blocks pointing to the data for that second fileis just plain wrong. Nobody asked for "a consistent filesystem containing those changes" aka "for a sync" (ultimatively). The request was that changes to a specific file are to be made persistent. Obviously, the 'easiest' way to implement that is to ignore this and write everything. Which filesystems did this back then? Which filesystems didn't? And what's the situation today? This could be useful information for choosing a particular filesystem.