[Devel] [PATCH vz10 11/12] selftests: net: io_uring_zerocopy.sh: enable io_uring for the test

Aleksei Oladko aleksey.oladko at virtuozzo.com
Wed Dec 17 00:04:23 MSK 2025


The io_uring_zerocopy.sh kselftest assumes that io_uring support is
enabled on the host system. When io_uring is disabled via the
kernel.io_uring_disabled sysctl, the test fails.

Explicitly enable io_uring for the test by setting
kernel.io_uring_disabled=0

https://virtuozzo.atlassian.net/browse/VSTOR-120995

Signed-off-by: Aleksei Oladko <aleksey.oladko at virtuozzo.com>
---
 tools/testing/selftests/net/io_uring_zerocopy_tx.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/testing/selftests/net/io_uring_zerocopy_tx.sh b/tools/testing/selftests/net/io_uring_zerocopy_tx.sh
index 123439545013..1b0816760534 100755
--- a/tools/testing/selftests/net/io_uring_zerocopy_tx.sh
+++ b/tools/testing/selftests/net/io_uring_zerocopy_tx.sh
@@ -122,5 +122,7 @@ do_test() {
 	wait
 }
 
+sysctl -w -q kernel.io_uring_disabled=0
+
 do_test "${EXTRA_ARGS}"
 echo ok
-- 
2.43.0



More information about the Devel mailing list