The data sink of the smbta project, smbtad is already employing talloc to a large extend, and it's tasks make it an ideal candidate to adopt tevent. Serializing the IO with tevent might get me off of thread hell. I will try a port in a forked off branch.