Tom Lane wrote:
> You can only fsync one FD at a time (too bad ... if there were a> multi-file-fsync API it'd solve the overspecified-write-ordering issue).
What about aio_fsync()?