what's needed is a application barrier() call
Posted Sep 9, 2009 18:36 UTC (Wed) by
quotemstr (subscriber, #45331)
In reply to:
what's needed is a application barrier() call by dlang
Parent article:
POSIX v. reality: A position on O_PONIES
rename ought to imply a barrier because there are no useful cases for a non-barrier rename, and plenty of cases for a rename-with-barrier. Forcing application authors to use a separate call will simply allow them to forget it, and will ensure that existing applications are still unsafe. A barrier-on-rename scheme adds safety with no loss in expressiveness, and is a performance increase over fsync, which is, well, synchronous.
(
Log in to post comments)