[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Sun Sep 17 18:05:01 UTC 2023


The branch, master has been updated
       via  5b7f9840f76 selftest: add some basic testing for the io_uring vfs module
      from  96e18e17748 s3:param: Remove unused lp_set_cmdline()

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 5b7f9840f766eb91f1f9df68e6d2a01898612890
Author: Stefan Metzmacher <metze at samba.org>
Date:   Sat Sep 16 20:00:33 2023 +0200

    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 at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Sun Sep 17 18:04:18 UTC 2023 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 selftest/target/Samba3.pm |  5 +++++
 source3/selftest/tests.py | 12 ++++++++++++
 2 files changed, 17 insertions(+)


Changeset truncated at 500 lines:

diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 39831afc599..a28e2be0581 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -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
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index fa51f7fdcbd..5fece702372 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -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"]


-- 
Samba Shared Repository



More information about the samba-cvs mailing list