2 ms·
Feels like this doesn’t actually answer the question? The hardware can still lie and say it was flushed so it benchmarks better. Would need to do real world t
by pyrolistical 4y ago
Feels like this doesn’t actually answer the question? The hardware can still lie and say it was flushed so it benchmarks better.
Would need to do real world test and yank the power after fsync. This https://news.ycombinator.com/item?id=10552218 https://news.ycombinator.com/item?id=10552218 article did just that. But unfortunately we would need this tested against all drive models/manufacturers
- emmelaich 4y agoThat's all covered in the last sentence. It addresses the main question well; is there a way to instruct the disk to flush its cache and is it used by fsync? Yes and yes.