[LTP] [PATCH 0/3] io_uring READ(V), WRITE(v) operation tests
Sachin Sant
sachinp@linux.ibm.com
Fri Mar 20 13:47:39 CET 2026
This patch series adds a set of test case to validate
IOURING READ & WRITE (io_uring03), READV & WRITEV (io_uring04)
operations. The patch also adds a common header file to
avoid code duplication.
This patch series also refactors existing test io_uring01
to use the common structures and function defined in header.
These patches have been tested successfully on ppc64le
arch (fedora and SLES flavours)
Signed-off-by: Sachin Sant <sachinp@linux.ibm.com>
---
Changes from RFC patch series:
- Addressed review comments
- Refactored io_uring01 test to use common code
- Removed git tags
- Link to RFC: https://lore.kernel.org/ltp/20260318110328.52031-1-sachinp@linux.ibm.com/T/#t
Test run:
$ ./kirk -f iouring
....
Connecting to SUT: default
Suite: iouring
--------------
io_uring01: pass (0.005s)
io_uring02: pass (0.004s)
io_uring03: pass (0.004s)
io_uring04: pass (0.004s)
Execution time: 0.054s
Disconnecting from SUT: default
.....
------------------------
TEST SUMMARY
------------------------
Suite: iouring
Runtime: 0.017s
Runs: 4
Results:
Passed: 23
Failed: 0
Broken: 0
Skipped: 0
Warnings: 0
Session stopped
$
---
Sachin Sant (3):
io_uring: Test IORING READ and WRITE operations
io_uring: Test READV and WRITEV operations
io_uring: Refactor io_uring01 to use common code
runtest/syscalls | 2 +
testcases/kernel/syscalls/io_uring/.gitignore | 2 +
.../kernel/syscalls/io_uring/io_uring01.c | 111 +++-----
.../kernel/syscalls/io_uring/io_uring03.c | 130 +++++++++
.../kernel/syscalls/io_uring/io_uring04.c | 231 +++++++++++++++
.../syscalls/io_uring/io_uring_common.h | 265 ++++++++++++++++++
6 files changed, 665 insertions(+), 76 deletions(-)
create mode 100644 testcases/kernel/syscalls/io_uring/io_uring03.c
create mode 100644 testcases/kernel/syscalls/io_uring/io_uring04.c
create mode 100644 testcases/kernel/syscalls/io_uring/io_uring_common.h
--
2.39.1
More information about the ltp
mailing list