A few more improvements beyond #14501:
- FileCommit will try multiple sync mechanisms, when supported
DirectoryCommit adds Windows support(dropped due to bugs)- DirectoryCommit returns success/failure and gets handled as such
Someone should probably test on BSD, as I recall past directory sync issues