Samba Async VFS Future

Library Content Type:
Publish Date: 
Monday, September 23, 2019
Event Name: 
Event Track:
Focus Areas:

Samba has some code to do async io through its SMB_VFS layer.
But we only have that for file descriptor based calls, like
pread, pwrite and fsync.

In 4.10 we added some special cases for async getxattr() calls
during a SMB2 Query Directory call.

As getxattr() is a path based call, which requires special
impersonation handling, when called via threadpools.

This talk gives an overview about the current state
with our pthreadpool implementation and future improvements
to make it possible to convert more operations to be async,
e.g. unlink() can block for minutes depending on the filesystem.

Watch video: