public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH V4 0/6] improvement work on libswap library
@ 2024-01-24  4:45 Li Wang
  2024-01-24  4:45 ` [LTP] [PATCH V4 1/6] libswap: add known swap supported fs check Li Wang
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Li Wang @ 2024-01-24  4:45 UTC (permalink / raw)
  To: ltp

V3-->V4
	* create a contiguous swapfile in swapoff01.c
	* fixing old-XFS requires initialize swapfile issue

Todo:
	* replace the tst_brk with tst_res+return in is_support_swap
	* customisze swapfile size if needed

Test env:
        Fedora38(x86_64, Btrfs), RHEL9(s390x, XFS), RHEL8(aarch64, XFS)

Li Wang (5):
  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
  swapoff01: make use of make_swapfile

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

 libs/libltpswap/libswap.c                     | 145 +++++++++++++++++-
 testcases/kernel/syscalls/swapoff/swapoff01.c |   5 +-
 testcases/kernel/syscalls/swapon/swapon01.c   |  16 +-
 3 files changed, 155 insertions(+), 11 deletions(-)

-- 
2.40.1


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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-01-26 11:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-24  4:45 [LTP] [PATCH V4 0/6] improvement work on libswap library Li Wang
2024-01-24  4:45 ` [LTP] [PATCH V4 1/6] libswap: add known swap supported fs check Li Wang
2024-01-24  4:45 ` [LTP] [PATCH V4 2/6] swapon01: Test on all filesystems Li Wang
2024-01-24  4:45 ` [LTP] [PATCH V4 3/6] swapon01: Improving test with memory limits and swap reporting Li Wang
2024-01-24  4:45 ` [LTP] [PATCH V4 4/6] libswap: add function to prealloc contiguous file Li Wang
2024-01-24  4:45 ` [LTP] [PATCH V4 5/6] libswap: Introduce file contiguity check Li Wang
2024-01-24 18:17   ` Petr Vorel
2024-01-24  4:45 ` [LTP] [PATCH V4 6/6] swapoff01: make use of make_swapfile Li Wang
2024-01-24 19:22 ` [LTP] [PATCH V4 0/6] improvement work on libswap library Petr Vorel
2024-01-25 10:23   ` Li Wang
2024-01-26  8:26     ` Yang Xu (Fujitsu)
2024-01-26 10:05     ` Cyril Hrubis
2024-01-26 10:34       ` Li Wang
2024-01-26 10:39         ` Petr Vorel
2024-01-26 10:46           ` Cyril Hrubis
2024-01-26 11:29             ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox