syscalls/aio: Convert libaio wrapper function to kernel syscall
Get series with b4
b4 am YJBJB/S1ThSsNvCk@pevikVersions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Petr Vorel |
|---|---|
| Series | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [LTP] [PATCH 0/3] syscalls/aio: Convert libaio wrapper function to kernel syscall
Hi Ziyao,
Quoted 1 line
Instead of using the libaio wrapper function, the system call is changed to be invoked via syscall(2).
Generally LGTM. Major thing for me is to replace <libaio.h> with <linux/aio_abi.h>. Do you plan to transform other tests which now still use <libaio.h> (testcases/kernel/io/aio/ and testcases/kernel/io/ltp-aiodio/, which are BTW problematic on mainline kernel)? I guess it'd be good to keep some test using <libaio.h>.
FYI if you don't prefer put your copyright, I'll update it with LTP copyright.
You also mix more things in single commit: using kernel API instead of libaio API (that you mentioned) with both code and comments cleanup. But commits are quite compact thus LGTM.
For whole patchset.
Kind regards,
Petr
Quoted 9 lines
Xie Ziyao (3):
syscalls/io_destroy: Convert libaio wrapper function to kernel syscall syscalls/io_setup: Convert libaio wrapper function to kernel syscall syscalls/io_submit: Convert libaio wrapper function to kernel syscall.../kernel/syscalls/io_destroy/io_destroy01.c | 49 ++------ .../kernel/syscalls/io_setup/io_setup01.c | 94 +++++---------- .../kernel/syscalls/io_submit/io_submit01.c | 110 ++++++++---------- 3 files changed, 86 insertions(+), 167 deletions(-)