Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- From: Aaron Straus <aaron@xxxxxxxxxxxxx>
- Date: Mon, 22 Sep 2008 10:37:15 -0700
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/
- References:
- blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- From: Aaron Straus
- Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- From: Chuck Lever
- Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- From: Aaron Straus
- Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- From: Hans-Peter Jansen
- Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- From: Trond Myklebust
- Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- From: Aaron Straus
- Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- From: Chuck Lever
- blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- Prev by Date: Re: Re: Re: Re: [PATCH 9/13] memcg: lookup page cgroup (and remove pointer from struct page)
- Next by Date: Re: [PATCH] mm: do_generic_file_read() never gets a NULL 'filp' argument
- Previous by thread: Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- Next by thread: Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
- Index(es):
Relevant Pages
|
Loading