ext4 and data loss
Posted Mar 13, 2009 15:06 UTC (Fri) by
quotemstr (subscriber, #45331)
In reply to:
ext4 and data loss by foom
Parent article:
ext4 and data loss
While I admit not having looked, I'll bet three cookies that's perfectly allowed by POSIX.
You know what else is also allowed by POSIX?
- Rejecting filenames longer than 14 characters, or that begin with a hyphen
- Refusing to create more than 8 hard links to a file
- Not having job control
- Copying a process's entire address space on
fork - Making all IO synchronous
Come on. Adhering to POSIX is no excuse for a poor implementation! Even Windows adheres to POSIX, and you'd have to be loony to claim it's a good Unix. Look: the bare minimum durability requirements that POSIX specifies are just not sufficient for a good and reliable system.
rename must introduce a write barrier with respect to the data blocks for the file involved or we
will lose. Not only will you not get every programmer and his dog to insert a gratuitous
fsync in the write sequence, but doing so would actually be harmful to system performance.
(
Log in to post comments)