THe isc_stdio_sync() would call fsync() and have an extra check that sync is called only over regular files. Remove the extra check and use fdatasync() instead of fsync() to lighten the load.
THe isc_stdio_sync() would call fsync() and have an extra check that sync is called only over regular files. Remove the extra check and use fdatasync() instead of fsync() to lighten the load.