[PATCH] reduce fd usage in smbd

Andrew Bartlett abartlet at samba.org
Tue Feb 24 19:34:12 MST 2009

On Tue, 2009-02-24 at 18:23 -0800, Dan Sledz wrote:
> >From the patch description:
> It seems we are calling tdb_reopen_all for two reasons:
> The first reason is to make sure we get a new seek pointer.  
> The second reason has to do with the TDB_CLEAR_IF_FIRST flag.  

Surely there are also locking interactions here?

All I know is that POSIX locking is insane, and I wouldn't want to
change this without considering this in particular.

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090225/e15202e1/attachment.bin

More information about the samba-technical mailing list