RE: O_SYNC option doesn't work (2.4.18-3)

From: Gregory Giguashvili (Gregoryg@ParadigmGeo.com)
Date: Wed Aug 07 2002 - 13:54:59 EST


>
> > In what I see, a simple test doesn't work in the expected way,
> > which is one client writes to a file opened with O_SYNC on a
> > drive mounted with sync option and the other client cannot
> > immediatelly see the written data. Are you saying that this is
> > the way it should be?
>
>Yes. That is all the NFS protocol allows you to do.

Well, this is the way it's been working on all UN*X platforms I know. In
fact, we came across this problem with NFS clients being unable to
synchronize on Linux.
If this is a "feature", it makes it impossible to read/write files via NFS
because of the risk of corruption - or am I missing something here?

Also, integrating Linux into heterogeneous networks becomes impossible
(though, it doesn't work in Linux only network as well).

Best,
Giga
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:36 EST