Need help with lockf(),open(..., O_SYNC), fsync() on SUN's

Martin Golding martin at adpplz.UUCP
Sat Mar 23 09:50:18 AEST 1991


In <1991Mar20.205800.14651 at agate.berkeley.edu> bks at alfa.berkeley.edu (Brad Sherman) writes:

>On both a Sun3 (3.5) network and a SparcStation (4.1) network
>we are experiencing file synchronization difficulties.  Two
>processes on the same cpu work fine but separate clients, or
>client and server seem to fail to work to spec.

None of the unix vendors we have talked to (which is many, but not all)
were willing to guarantee buffer cache coherency across the network.
You'll have to change one or both of the routines to talk to a remote
server (ie, on the machine with the data).

If you get this working, or hear any other good stuff, or if somebody
out there wants to flame me (HA! We've been running a distributed database
over NFS for years...) it could save me two months of work on a project
I'm about to be forced to do.


Martin Golding    | sync, sync, sync, sank ... sunk:
Dod #0236         |  He who steals my code steals trash.
Blechtrottel CPU with many megs...
{mcspdx,pdxgate}!adpplz!martin or martin at adpplz.uucp



More information about the Comp.unix.wizards mailing list