Wishful thinking
Wishful thinking
Posted Mar 16, 2009 5:20 UTC (Mon) by alonz (subscriber, #815)In reply to: Wishful thinking by bojan
Parent article: Garrett: ext4, application expectations and power management
> Yeah, it would be nice if the semantics of rename were defined
> that way, wouldn't it? Alas, they are not.
Unfortunately, POSIX doesn't actually define any relation between operations on file contents and those on file metadata. File-system developers prefer to pretend that this means the operations should be independent; most application developers prefer the interpretation that any file-system operations (whether they refer to data or metadata) are part of the same “transaction space”.
Personally, I believe the application developers have the saner perspective here, and file-system developers are taking the narrow view. But then, I'm a systems engineer, I like broad views :).
