Ya. It seems to me that Ext3 only works that way by accident.
But it seems that for consumer devices this sort of behavior could actually be a fundamental design improvement over the way file systems have traditionally worked and could be advertised as a actual selling point (that is being able to do promise # 2. reliably.)
Garrett: ext4, application expectations and power management
Posted Mar 16, 2009 16:12 UTC (Mon) by jspaleta (subscriber, #50639)
[Link]
I've always wondered.. how many of the more important or more impactful improvements in technology in the long view of history were simply uncharacteristically happy accidents versus premeditated "design" decisions.
-jef
Garrett: ext4, application expectations and power management
Posted Mar 19, 2009 23:28 UTC (Thu) by jzbiciak (✭ supporter ✭, #5246)
[Link]
Not really by accident. I believe the necessary dependence is established by the "data=ordered" mount option. That's pretty much what we need to fix this issue: Make sure that the data is on the disk before you write the updated metadata.
That doesn't mean you need to flush things to the disk early. It just means that things have to happen in a particular order.