
10 Apr
2012
10 Apr
'12
8:46 a.m.
Tim Connors wrote:
"And avoiding fsync() in applications will also be helpful, since a cache flush operation will force the SSD to write to an erase block even if it isn’t completely filled."
(if you can't tell, I have a pet hate for people that insist fsync() is the only true way to ensure data integrity. Use a reliable filesystem instead!)
Have you met my good friend libeatmydata? It's an LD_PRELOAD wrapper that turns fsync, sync into noops.