1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

selftest: add some basic testing for the io_uring vfs module

We're now able to build it on all linux systems and
the ci runners have at least a 5.4 kernel. That's
all the current vfs_io_uring requires.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Sep 17 18:04:18 UTC 2023 on atb-devel-224
This commit is contained in:
Stefan Metzmacher 2023-09-16 20:00:33 +02:00
parent 96e18e1774
commit 5b7f9840f7
2 changed files with 17 additions and 0 deletions

View File

@ -2010,6 +2010,11 @@ sub setup_fileserver
acl_xattr:security_acl_name = user.hackme
read only = no
[io_uring]
path = $share_dir
vfs objects = acl_xattr fake_acls xattr_tdb streams_depot time_audit full_audit io_uring
read only = no
[homes]
comment = Home directories
browseable = No

View File

@ -1391,6 +1391,18 @@ plansmbtorture4testsuite(
"simpleserver",
'//$SERVER/external_streams_depot -U$USERNAME%$PASSWORD')
vfs_io_uring_tests = {
"smb2.connect",
"smb2.credits",
"smb2.rw",
"smb2.bench",
"smb2.ioctl",
}
for t in vfs_io_uring_tests:
plansmbtorture4testsuite(t, "fileserver",
'//$SERVER_IP/io_uring -U$USERNAME%$PASSWORD',
"vfs_io_uring")
test = 'rpc.lsa.lookupsids'
auth_options = ["", "ntlm", "spnego", "spnego,ntlm", "spnego,smb1", "spnego,smb2"]
signseal_options = ["", ",connect", ",packet", ",sign", ",seal"]