|
|
Log in / Subscribe / Register

The POSIX talk is pointless

The POSIX talk is pointless

Posted Mar 17, 2009 7:09 UTC (Tue) by rahulsundaram (subscriber, #21946)
In reply to: The POSIX talk is pointless by sbergman27
Parent article: Garrett: ext4, application expectations and power management

The patches fix the behaviour to match application usage patterns and reliability doesn't seem to be affected anymore than Ext3 for the typical use cases plus you get a nice performance benefit.

Ext3 avoids fragmentation to a good extend but it is still possible to run into situations where the filesystem is badly fragmented especially as you get closer to reaching your storage limits. Ext4 improves the fairly simple and stupid allocation method in Ext3 with a more intelligent one. A online defragmenter is a additional feature and not a replacement of the allocator.


to post comments

The POSIX talk is pointless

Posted Mar 17, 2009 13:46 UTC (Tue) by sbergman27 (guest, #10767) [Link] (2 responses)

"""
...reliability doesn't seem to be affected anymore than Ext3 for the typical use cases...
"""

That sounds like a "weasel phrase". "Typical Use Cases"? The lofty goal of ext4 is now to preserve user data in "typical use cases"?

If I mount two filesystems, one ext3 and one ext4, both using the defaults. And then open a new file on both, write some data to both, close both, wait 30 seconds, and pull the power plug, what happens?

If the answer is "the same thing for both" or "ext4 is more reliable in that scenario" then great. If the answer is "ext4 is less reliable" then ext4 will never see my production systems, with or without nodelalloc.

The POSIX talk is pointless

Posted Mar 17, 2009 17:04 UTC (Tue) by rahulsundaram (subscriber, #21946) [Link] (1 responses)

I can't speak on behalf of Ext4 developers but no filesystem will preserve your data in all cases. The principle is to optimize for the common use cases and then add things to cover the corner cases as well to the extend possible. That is what has happened in Ext4 as well.

With the current patches, you should see the same behaviour in both filesystems. Feel free to test and report if you see any changes.

The POSIX talk is pointless

Posted Mar 17, 2009 17:31 UTC (Tue) by sbergman27 (guest, #10767) [Link]

"""
...no filesystem will preserve your data in all cases...
"""

Ext3 with data=journal will come quite close to it, though. In fact, ext3 with data=ordered comes impressively close to it.

"""
With the current patches, you should see the same behaviour in both filesystems.
"""

I'll be running exactly this scenario when 2.6.30 is released to see what happens.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds