Atomicity vs durability
Posted Mar 15, 2009 23:51 UTC (Sun) by
vonbrand (subscriber, #4458)
In reply to:
Atomicity vs durability by man_ls
Parent article:
Ts'o: Delayed allocation and the zero-length file problem
I just don't understand all this "extN isn't crash-proof" whining...
Yes, Linux systems do crash on occasion. It is thankfully very rare.
Yes, hardware does fail. Even disks do fail. Yes, if you are unlucky you will lose data. Yes, the system could fail horribly and scribble all over the disk. Yes, the operating system could mess up its internal (and external) data structures.
It is just completely impossible for the operating system to "do the right thing with respect to whatever data the user values more", even more so in the face of random failures. Want performance? Then you have to do tricks caching/buffering data, disks are horribly _s_l_o_w_ when compared to your processor or memory.
Asking Linux developers to create some Linux-only beast of a filesystem in order to make application developer's life easier doesn't cut it, there are other operating systems (and Linux systems with other filesystems) around, and always will be. Plus asking for a filesystem that is impossible in principle won't get you too far either.
(
Log in to post comments)