ltp icon indicating copy to clipboard operation
ltp copied to clipboard

More splice() testcases

Open metan-ucw opened this issue 4 years ago • 3 comments

Recently there were some change in splice() kernel implementation that broke a few cases we did not even consider to test.

commit 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d Author: Linus Torvalds [email protected] Date: Sun Dec 27 10:56:33 2020 -0800

proc mountinfo: make splice available again

commit 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 Author: Linus Torvalds [email protected] Date: Tue Jan 19 11:41:16 2021 -0800

tty: implement write_iter

We should add coverage at least for splice() on proc files and possibly the tty as well.

metan-ucw avatar Jan 26 '21 09:01 metan-ucw

Perhaps we need a "write any FD to and FD", test. Which tests copying data between objects addressable by File Descriptors using various methods.

Some other System calls to consider: readv/writev, tee, vmsplice, mmap

richiejp avatar Jan 26 '21 09:01 richiejp

First case for splice on proc https://patchwork.ozlabs.org/project/ltp/patch/[email protected]/

coolgw avatar Aug 17 '23 00:08 coolgw

https://patchwork.ozlabs.org/project/ltp/patch/[email protected]/ accept.

coolgw avatar May 28 '24 10:05 coolgw