[LTP] [PATCH v5 0/8] improvement work on libswap library

Li Wang liwang@redhat.com
Sun Jan 28 03:48:30 CET 2024


v4-->v5:
	* port swapon/off0[23].c to all_filesystems.
	* replace the tst_brk with tst_res+return in is_support_swap
	* customisze swapfile size if needed

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                     | 180 ++++++++++++++++--
 testcases/kernel/syscalls/swapoff/swapoff01.c |   5 +-
 testcases/kernel/syscalls/swapoff/swapoff02.c |  11 +-
 testcases/kernel/syscalls/swapon/swapon01.c   |  18 +-
 testcases/kernel/syscalls/swapon/swapon02.c   |   8 +-
 testcases/kernel/syscalls/swapon/swapon03.c   |   8 +-
 7 files changed, 201 insertions(+), 33 deletions(-)

-- 
2.40.1



More information about the ltp mailing list