I found some legacy company code that was using an std::fstream and calling fs.flush() after each write, then fs.sync() each time a ce
std::fstream
fs.flush()
fs.sync()