ambi at samba.org
Thu Feb 16 05:35:15 MST 2012
On 02/15/2012 04:59 PM, Volker Lendecke wrote:
> One consequence of using this API throughout smbd would be a
> vastly improved cleanup behaviour after a crashed smbd.
> Right now we have custom code to periodically walk the
> brlock database. We do not have code to walk locking.tdb,
> for good reason. You just don't want to traverse a database
> of 100.000 open files when maybe 100 of those are waiting
> for an oplock break. By using the dbwrap_watchers.tdb for
> everyone waiting for a change, it becomes much more feasible
> to walk this whole db and wake up all waiters whenever an
> smbd dies or a node goes down.
This piece sounds very promising! (especially for the clustered case)
More information about the samba-technical