Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux