On Sep 22 01:26 PM, Chuck Lever wrote:
> Why can't you use O_SYNC | O_APPEND ?
In our case, some of the writers are not in our control. Another case
we see the issue is you spawn a job:
job 1> out 2> err &
tail -f out err
Also, we actually do like caching the writes (b/c log files do not need
to be checked immediately after being written). We just wish the cache
could be written out in-order.
If there's no way to make that happen... we can reorganize our
file-system, exports, mounts, etc so that the log file directory is
mounted with the sync option.
However, the problem *might* be annoying and wide-spread enough to
warrant a change.