Native Linux AIO in Samba4

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Jan 13 09:09:40 GMT 2007


On Sat, Jan 13, 2007 at 08:47:00AM +1100, tridge at samba.org wrote:
> One part that will be tricky is ensuring there is only a single event
> context. In Samba3 this is probably most naturally don't with a global
> variable pointing at the event context. In Samba4 we either pass the
> event context down, or use event_context_find() which relies on the
> event context being at the top of the talloc tree.

The two processes I am looking at right now is smbd and
winbind. I am thinking about adding two routines,
smbd_event_context() and winbind_event_context() with their
own function-static variables. In Samba3 we still have too
many talloc_new(NULL) places or just do not pass a talloc
context down to really use event_context_find().

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070113/0a9c9736/attachment.bin


More information about the samba-technical mailing list