ordered(tm) brand
ordered(tm) brand
Posted Mar 16, 2009 0:09 UTC (Mon) by njs (subscriber, #40338)In reply to: ordered(tm) brand by szh
Parent article: Garrett: ext4, application expectations and power management
ext3's "ordered" mode does *not* have the best semantics; it (accidentally) makes very strong ordering guarantees -- in fact, much stronger than are needed for atomic-rename -- and the consequence of those strong guarantees is that fsync() becomes unbearably slow.
And one direct consequence of this is that on ext3, firefox *cannot* guarantee safety of your e.g. browsing history -- there is no way to do it that is fast enough for users to put up with (they tried). ext4 + Ted's flush-on-rename patch provide all the useful parts of ext3's semantics, while also making fsync fast and thus putting *less* data at risk than ext3.
