[LTP] [PATCH V4 0/1] syscall: Add io_uring test

Vikas Kumar vikas.kumar2@arm.com
Thu May 14 19:28:30 CEST 2020


	Added Linux asynchronous I/O API Test for io_uring_setup(),
	io_uring_register() and io_uring_enter(). This test intend to 
	check basic io_uring api operation.
	
	io_uring_setup() creates submission queue and completion queue
	to perform subsequent operations on the io_uring instance.
	io_uring_register() registers user buffers to kernel for long term usese.
	io_uring_enter() initiate and finish I/O using the shared sq and cq queue.

---

Signed-off-by: Vikas Kumar <vikas.kumar2@arm.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Cc: Petr Vorel <pvorel@suse.cz>

---

Vikas Kumar (1):
  syscall: Add io_uring test

 testcases/kernel/syscalls/io_uring/Makefile   |   8 +
 .../kernel/syscalls/io_uring/io_uring01.c     | 191 ++++++++++++++++++
 2 files changed, 199 insertions(+)
 create mode 100644 testcases/kernel/syscalls/io_uring/Makefile
 create mode 100644 testcases/kernel/syscalls/io_uring/io_uring01.c

-- 
2.17.1



More information about the ltp mailing list