3 ms·
> Doesn't software like databases that care about this already assume the OS flush return values are bogus? Unsure of this (I would assume "it depends" and "pr
by makmanalp 8y ago
> Doesn't software like databases that care about this already assume the OS flush return values are bogus?
Unsure of this (I would assume "it depends" and "probably not" because how else could it possibly know that anything is written to durable storage ever ever) but the idea is that if it didn't have to assume that life would be a lot easier.
> What's the scenario, the host experiences a power-loss, but was somehow anticipating it and managed to stop writing to the SSD?
If I understood your question correctly, databases and similar stuff write data in a way to try to solve exactly this problem, with write-ahead logs and such where you first write quickly and inexpensively to the log and then write to the database.