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

Re: svn commit: rev 5361 - trunk/subversion/mod_dav_svn

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-03-17 21:58:48 CET

Glenn A. Thompson wrote:

> If I'm understanding the issue correctly you need a way to make sure
> that only one "fs object"/db/process? Is one open supposed to block
> on the other or will BDB share the handles correctly? I didn't get
> this for the text in 688.
> Sorry, I'm a little confused.

No, not block, just reuse the already-opened environment. When BDB opens
our FS environment, it mmaps the environment files. That's just fine on
most systems, but HP-UX does not let you map the same file into a
process twice. So my longish-term plan is have a reference-counted cache
of open environments, and avoid the second (and third, and fourth...) mmap.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 17 22:01:43 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.