mbox series

[v5,0/8] improvement work on libswap library

Message ID 20240128024838.2699248-1-liwang@redhat.com
Headers show
Series improvement work on libswap library | expand

Message

Li Wang Jan. 28, 2024, 2:48 a.m. UTC
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(-)