s3: vfs: add smb_vfs_ev_glue
authorRalph Boehme <slow@samba.org>
Sun, 8 Jul 2018 14:28:02 +0000 (16:28 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 25 Jul 2018 15:49:06 +0000 (17:49 +0200)
commit1251a536df4b1df58d9ddacab03d3ebe6f4e5b60
treefd3e45f643c8ee4b068b8a9a16f6f3f0d4320c55
parent0c97226356f2ba5f01a58d361371055caf11e2a7
s3: vfs: add smb_vfs_ev_glue

This adds VFS helper functions and that work on a struct smb_vfs_ev_glue
object which bundles two event contexts and a few threadpools.

This will be used to streamline the use of impersonating wrappers
in the SMB_VFS.

Notice the verbose comments in source3/smbd/vfs.c.

This will allow us to introduce path based async operations
to the SMB_VFS layer.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
source3/include/vfs.h
source3/smbd/vfs.c