News for hackers. Stuff that matters.
Re:Apple's custom NVMes are amazingly fast – if you don't ca... by ryao on Monday February 21, 2022 @07:55PM (#30422846)
The POSIX specification requires data to be on stable storage following fsync. Anything less is broken behavior.

An fsync that does not require the completion of an IO barrier before returning is inherently broken. This would be REQ_PREFLUSH inside Linux.

Re:Apple's custom NVMes are amazingly fast – if you don't ca... by clysm on Monday February 21, 2022 @10:35PM (#30423733)
> If _POSIX_SYNCHRONIZED_IO is not defined, the wording relies heavily on the conformance document to tell the user what can be expected from the system.

> fsync() might or might not actually cause data to be written where it is safe from a power failure.