News for hackers. Stuff that matters.

yuboyt

Re:Working with Files Is Hard (2019) on Friday January 24, 2025 @03:14AM (#42811413)
Yes, really. "Crash-consistent data structures were proposed by enforcing cacheline-level failure-atomicity" see references in: https://doi.org/10.1145/3492321.3519556
Re:Working with Files Is Hard (2019) on Thursday January 23, 2025 @05:32PM (#42808766)
You're missing the point. GP was mentioning the common assumption that all systems in the last 30 years are sector-atomic under power loss condition. Either the sector is fully written or fully not written. Optane was a rare counter example, where sector can become partially written, thus not sector-atomic.
Re:Working with Files Is Hard (2019) on Thursday January 23, 2025 @04:13PM (#42808154)
This assumption was wrong for Intel Optane memory. Power loss could cut the data stream anywhere in the middle. (Note: the DIMM nonvolatile memory version)
"huge opportunity in German mechanical engineering". Ha. He should compare a modern German car, with their 2-3 year warranty, to a modern chinese car such as BYD, with their 8 year warranty.