Skip to content

improvement work on libswap library

Li Wang ltp 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest8 patches 8 repliesIn review
  2. v58 patches 5 repliesSuperseded
  3. v46 patches 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v35 patches8 repliesSuperseded
v14 patches22 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8libswap: add known swap supported fs checklibs/libltpswap/libswap.c+23 -20 replies
2/8swapon01: Test on all filesystemstestcases/kernel/syscalls/swapon/swapon01.c+6 -20 replies
3/8swapon01: Improving test with memory limits and swap reportingtestcases/kernel/syscalls/swapon/swapon01.c+8 -00 replies
4/8libswap: add function to prealloc contiguous filelibs/libltpswap/libswap.c+53 -10 replies
5/8libswap: Introduce file contiguity checklibs/libltpswap/libswap.c+65 -50 replies
6/8libswap: customize swapfile sizeinclude/libswap.h libs/libltpswap/libswap.c testcases/kernel/syscalls/swapoff/swapoff01.c +3 more+23 -171 reply
7/8swapon/off: enable all_filesystem in swap testtestcases/kernel/syscalls/swapoff/swapoff01.c testcases/kernel/syscalls/swapoff/swapoff02.c testcases/kernel/syscalls/swapon/swapon02.c +1 more+49 -227 replies
8/8libswap: Refactor is_swap_supported function to return statusinclude/libswap.h libs/libltpswap/libswap.c+20 -180 replies

Reviews trailers per patch

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

PatchPetr Vorel
1/8T-b R-b
2/8T-b R-b
3/8T-b R-b
4/8T-b R-b
5/8R-b T-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [LTP] [Patch v6 0/8] improvement work on libswap library

v5-->v6
* return bool for is_swap_supported
* test swap file on the MNTPOINT
* remove some unnecessary comments

CI: https://github.com/wangli5665/ltp/actions/runs/7724190252/job/21055841641

Test Env:

        Fedora38(x86_64, Btrfs), RHEL9(s390x, XFS), RHEL8(aarch64, XFS)

Li Wang (7):
libswap: add known swap supported fs check
swapon01: Improving test with memory limits and swap reporting
libswap: add function to prealloc contiguous file
libswap: Introduce file contiguity check
libswap: customize swapfile size
swapon/off: enable all_filesystem in swap test
libswap: Refactor is_swap_supported function to return status

Petr Vorel (1):
swapon01: Test on all filesystems

 include/libswap.h                             |   4 +-
 libs/libltpswap/libswap.c                     | 188 ++++++++++++++++--
 testcases/kernel/syscalls/swapoff/swapoff01.c |  19 +-
 testcases/kernel/syscalls/swapoff/swapoff02.c |  20 +-
 testcases/kernel/syscalls/swapon/swapon01.c   |  18 +-
 testcases/kernel/syscalls/swapon/swapon02.c   |  27 ++-
 testcases/kernel/syscalls/swapon/swapon03.c   |  12 +-
 7 files changed, 234 insertions(+), 54 deletions(-)
Signature · 5 lines
2.40.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp