Skip to content

syscalls/aio: Convert libaio wrapper function to kernel syscall

xieziyao ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. 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

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 0/3] syscalls/aio: Convert libaio wrapper function to kernel syscall

Hi, Petr, Jan,

I am working on adapting the new API to the testsuite of syscalls/io_*.

At the same time, I prefer to replace libaio wrapper function with raw system call(tst_syscall(__NR_io_*)) just for the aio testcases of kernel/syscalls, since this method may be more straightforward, no need to rely on other libraries.

Glad to see your discussion and participation, thanks.

Kind regards,
Ziyao
From: Petr Vorel<[email protected]<mailto:[email protected]>>
To: Jan Stancek<[email protected]<mailto:[email protected]>>
Cc: xieziyao<[email protected]<mailto:[email protected]>>;ltp<[email protected]<mailto:[email protected]>>;Richard Palethorpe<[email protected]<mailto:[email protected]>>
Subject: Re: [LTP] [PATCH 0/3] syscalls/aio: Convert libaio wrapper function to kernel syscall
Time: 2021-05-04 13:13:53

Hi Jan,

Quoted 9 lines · Petr Vorel
Quoted 5 lines

Hi Ziyao,

Quoted 1 line

Instead of using the libaio wrapper function, the system call is changed

to be invoked via syscall(2).

I probably missed some discussion. Why are we replacing it with syscall?

you haven't missed anything. io_destroy(ctx) (libaio.h) is being replaced with raw syscall (tst_syscall(__NR_io_destroy, ctx).

Kind regards,
Petr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210504/f92c4e36/attachment-0001.htm>