All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [V3 0/5] improvement work on libswap library
@ 2024-01-23 11:48 Li Wang
  2024-01-23 11:48 ` [LTP] [PATCH V3 1/5] libswap: add known swap supported fs check Li Wang
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Li Wang @ 2024-01-23 11:48 UTC (permalink / raw)
  To: ltp

v2-->v3:
	* replace strcmp() by strstr() becuase ext2/ext3/ext4 has same type name.
	* add a dedicated function to create the contiguous file for swapon
	* introduce set_nocow_attr to set 'NOCOW' attr for btrfs
	* replace the kernel-version-check by variable fi_contiguous
	* make use of SAFE_MACORs
	* fix code incident to make check-libswap happy

Note: as change the return of is_swap_supported will affect more
      tests in swapon/off, I didn't replace tst_brk by tst_res+return
      in this patchset, we can do it later in separate work.

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

Li Wang (4):
  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

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

 libs/libltpswap/libswap.c                   | 130 +++++++++++++++++++-
 testcases/kernel/syscalls/swapon/swapon01.c |  16 ++-
 2 files changed, 139 insertions(+), 7 deletions(-)

-- 
2.40.1


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

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

end of thread, other threads:[~2024-01-24 10:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23 11:48 [LTP] [V3 0/5] improvement work on libswap library Li Wang
2024-01-23 11:48 ` [LTP] [PATCH V3 1/5] libswap: add known swap supported fs check Li Wang
2024-01-23 11:48 ` [LTP] [PATCH V3 2/5] swapon01: Test on all filesystems Li Wang
2024-01-23 11:48 ` [LTP] [PATCH V3 3/5] swapon01: Improving test with memory limits and swap reporting Li Wang
2024-01-23 11:48 ` [LTP] [PATCH V3 4/5] libswap: add function to prealloc contiguous file Li Wang
2024-01-23 12:11   ` Petr Vorel
2024-01-23 12:37     ` Petr Vorel
2024-01-23 12:54       ` Li Wang
2024-01-23 15:47         ` Petr Vorel
2024-01-24  4:08           ` Li Wang
2024-01-24 10:06             ` Petr Vorel
2024-01-23 17:40         ` Petr Vorel
2024-01-24  4:27           ` Li Wang
2024-01-23 11:48 ` [LTP] [PATCH V3 5/5] libswap: Introduce file contiguity check Li Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.