s3:modules: add vfs_io_uring module
authorStefan Metzmacher <metze@samba.org>
Wed, 5 Jun 2019 15:01:49 +0000 (17:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 15 Feb 2020 11:37:45 +0000 (11:37 +0000)
commit195e88cea34c983afc02cfb521a60cdd1edbe9e1
treed892a924d8a8e72d17573a305a6e3c483665ee23
parentfb5a99fa0200785ef1b5a8c9bc4a645d09fbeb5e
s3:modules: add vfs_io_uring module

The module makes use of the new io_uring infrastructure
(intruduced in linux 5.1), see https://lwn.net/Articles/778411/ and
http://git.kernel.dk/cgit/liburing/

Currently this only implements SMB_VFS_{PREAD,PWRITE,FSYNC}_SEND/RECV
and avoids the overhead of our userspace threadpool.

In future we'll hopefully make more use of more advanced io_uring
features.

For now we don't have automated tests as our test infrastructure
doesn't use a recent kernel. At least we're able to do compile tests
on fedora31.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Feb 15 11:37:45 UTC 2020 on sn-devel-184
docs-xml/manpages/vfs_io_uring.8.xml [new file with mode: 0644]
docs-xml/wscript_build
source3/modules/vfs_io_uring.c [new file with mode: 0644]
source3/modules/wscript_build
source3/wscript