Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
From: Aaron Straus
Date: Mon Sep 22 2008 - 13:37:30 EST
Hi,
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.
Anyway, thanks!
Regards,
=a=
--
===================
Aaron Straus
aaron@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/