Wishful thinking
Wishful thinking
Posted Mar 16, 2009 22:36 UTC (Mon) by bojan (subscriber, #14302)In reply to: Wishful thinking by quotemstr
Parent article: Garrett: ext4, application expectations and power management
Actually it does. If you _don't_ allow for what POSIX specifies in your applications (which is where the problem is), then there will be consequences (i.e. the applications will lose files).
This can be properly fixed in two ways:
1. By calling fsync() from the application when required.
2. By introducing something new that does what you keep talking about.
Overloading specified behaviour with unspecified things is dangerous, because it encourages application writers to do the wrong thing. We've seen that before with XFS and wrong people got blamed that time too.
Sure, Ted is a practical person, so he doesn't want to break things unnecessarily. I admire him for keeping his cool.
