Skip to content

Add tst_fd iterator API

Cyril Hrubis linux-fsdevel ltp 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 10 repliesIn review
  2. v24 patches 11 repliesSuperseded

Changes in v3 from the cover letter

- Made use of newly introduced API to specify an array of possible errors

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib: Add tst_fd iteratorinclude/tst_fd.h include/tst_test.h lib/tst_fd.c+387 -05 replies
2/4syscalls: readahead01: Make use of tst_fdtestcases/kernel/syscalls/readahead/readahead01.c+27 -252 replies
3/4syscalls: accept: Add tst_fd testruntest/syscalls testcases/kernel/syscalls/accept/.gitignore testcases/kernel/syscalls/accept/accept01.c +1 more+62 -82 replies
4/4syscalls: splice07: New splice tst_fd iterator testruntest/syscalls testcases/kernel/syscalls/splice/.gitignore testcases/kernel/syscalls/splice/splice07.c+72 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRichard PalethorpePetr VorelJan Kara
1/4R-b R-b
2/4R-b R-b R-b
3/4R-b R-b R-b
4/4R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/4] Add tst_fd iterator API

Changes in v3:
- Made use of newly introduced API to specify an array of possible errors

Jan and Amir please check if the error sets are not missing anything

- Fixed a few minor problems as pointed out by Peter

Changes in v2:

- Changed the API into iterator rather than a funciton callback
- Added a lot more fd types
- Added splice test

Cyril Hrubis (4):
lib: Add tst_fd iterator
syscalls: readahead01: Make use of tst_fd
syscalls: accept: Add tst_fd test
syscalls: splice07: New splice tst_fd iterator test

 include/tst_fd.h                              |  61 ++++
 include/tst_test.h                            |   1 +
 lib/tst_fd.c                                  | 325 ++++++++++++++++++
 runtest/syscalls                              |   2 +
 testcases/kernel/syscalls/accept/.gitignore   |   1 +
 testcases/kernel/syscalls/accept/accept01.c   |   8 -
 testcases/kernel/syscalls/accept/accept03.c   |  60 ++++
 .../kernel/syscalls/readahead/readahead01.c   |  52 +--
 testcases/kernel/syscalls/splice/.gitignore   |   1 +
 testcases/kernel/syscalls/splice/splice07.c   |  70 ++++
 10 files changed, 548 insertions(+), 33 deletions(-)
 create mode 100644 include/tst_fd.h
 create mode 100644 lib/tst_fd.c
 create mode 100644 testcases/kernel/syscalls/accept/accept03.c
 create mode 100644 testcases/kernel/syscalls/splice/splice07.c
Signature · 1 line
2.43.0