Flash storage topics
Flash storage topics
Posted Jun 14, 2018 15:36 UTC (Thu) by Wol (subscriber, #4433)In reply to: Flash storage topics by Tobu
Parent article: Flash storage topics
At present, (a) user-space can not reason about the state of the disk, and (b) a "sync" is effectively a Denial-of-Service attack on all the other users of the system (and yourself).
If I can guarantee that certain writes hit the disk in a fixed order, then I can reason about the state of the disk, and write a robust app.
The problem is that POSIX explicitly only applies to a properly functioning system - it explicitly disclaims all liability if the system malfunctions, and things like databases need to be able to reason about a malfunctioning system.
Cheers,
Wol