fdatasync() looks cleaner, so I'd use it where it makes sense for clarity.