Solving: samba registry with client programs

simo idra at samba.org
Thu Apr 19 11:38:07 MDT 2012


On Thu, 2012-04-19 at 07:24 +0200, Volker Lendecke wrote: 
> On Wed, Apr 18, 2012 at 03:53:34PM -0400, simo wrote:
> > > And, I
> > > don't think that registry smb.conf modifications are
> > > so frequent that this really hurts. The fsyncs on the
> > > registry.tdb are probably much, much more expensive.
> > 
> > True, but I was not too much concerned with performance, rather rewrite
> > of the file over an over, if someone wants to check changes with
> > something like inotify it would get multiple wakeups all over.
> 
> We rewrite the registry over and over too, so I think this
> problem exists already today.

Yes and we drafted a plan to fix it by using 2 tdb files a while ago, I
guess we could accept the penalty now and then solve the problem at the
same time once we get around to fix the registry general issues.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list