ordered(tm) brand
ordered(tm) brand
Posted Mar 15, 2009 20:10 UTC (Sun) by nybble41 (subscriber, #55106)In reply to: ordered(tm) brand by szh
Parent article: Garrett: ext4, application expectations and power management
The default setting, data=ordered, only guarantees that any given file's contents are committed to disk before that same file's metadata -- essentially just the file's size -- thus ensuring that the on-disk version of the file never contains uninitialized data. It doesn't make any guarantees, in ext3 or ext4, regarding the ordering of writes to separate files or directories. Similarly, the semantics of rename() are such that atomicity is guaranteed only with respect to the directory entry, not data or metadata associated with the files themselves.
