[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: bdb on nfs

From: Michael Price <mprice_at_atl.lmco.com>
Date: 2003-03-31 22:03:57 CEST

Michael Price wrote:
>> Some Linux releases are known to not support complete semantics for
>> the POSIX fsync call on NFS-mounted filesystems. No Berkeley DB files
>> should be placed on NFS-mounted filesystems on these systems.
>> therefor i'm wondering why there seems to be a common understanding,
>> that bdb does not work on nfs.
>
> Well, add Solaris 2.8 to that list then because you get failures all the
> time trying to use BDB over their NFS.
>
> If Sun can't even get it POSIX compliant then don't hold your breath
> waiting for everyone else to do it.

And just to clarify, on Sun if you try to mmap a locked file on an NFS
filesystem then mmap fails with EAGAIN. Since BDB does this everywhere
(including in its own testsuite) you basically can't use BDB over NFS on
Sun for any real task. This also means that the BDB testsuite won't pass
on a Sun box unless your TESTDIR is a local mount (just tried this myself).

So even if NFS weren't as bad as it is, Sun returning EAGAIN from mmap
in this case prevents you from using BDB on NFS mounts.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 31 22:06:17 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.