Re: Problem with msync system call

Andi Kleen (ak@suse.de)
23 Jul 2002 19:07:57 +0200


Gregory Giguashvili <Gregoryg@ParadigmGeo.com> writes:

> I'm sure that someone has come across this problem and I sure hope there is
> some workaround/patch available.

Do a F_SETFL lock/unlock on the file That should act as a full NFS write
barrier and flush all buffers. Best is if you synchronize between the various
writers with the full lock.

-Andi
-
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/