Wishful thinking
Wishful thinking
Posted Mar 17, 2009 8:35 UTC (Tue) by jamesh (guest, #1159)In reply to: Wishful thinking by bojan
Parent article: Garrett: ext4, application expectations and power management
> be broken when they go to a different system which happens to have an FS
> that doesn't order renames on disk.
We are talking about a case that POSIX leaves undefined here. An OS can wipe the disk on system crash and still be POSIX compliant.
We are in the realm of implementation defined behaviour, so talking of "applications doing what POSIX requires" doesn't really make sense. Claiming that the applications are buggy in a case where the specification offers no guidance doesn't help anyone.
Ext4's crash resistance is a desirable feature that exceeds the minimum requirements needed for POSIX conformance. Preserving atomic renames over a crash also exceeds those minimum requirements.
I'd be willing to pay the performance penalty from providing this behaviour in the same way I am willing to pay the performance penalty from metadata journaling.
