If O_DSYNC is not defined, that may be due to poor compiler options.
We could fall back to the less efficient O_SYNC, but it seems better
to let the user learn of the problem and give better compiler options.
vmware
Hallvard B Furuseth13 years agocommitted byHoward Chu