[LTP] [Patch v6 7/8] swapon/off: enable all_filesystem in swap test

Petr Vorel pvorel@suse.cz
Thu Feb 1 08:46:33 CET 2024


> On Thu, Feb 1, 2024 at 3:01 AM Petr Vorel <pvorel@suse.cz> wrote:

> > Hi Li,

> > also I got failures on ppc64le in our CI

> > * swapoff01 6.7.2 and other versions up to 4.12 based kernels on ppc64le
> > ...
> > tst_supported_fs_types.c:97: TINFO: Kernel supports tmpfs
> > tst_supported_fs_types.c:49: TINFO: mkfs is not needed for tmpfs
> > tst_test.c:1701: TINFO: === Testing on ext2 ===
> > tst_test.c:1117: TINFO: Formatting /dev/loop0 with ext2 opts='' extra
> > opts=''
> > mke2fs 1.47.0 (5-Feb-2023)
> > tst_test.c:1131: TINFO: Mounting /dev/loop0 to /tmp/LTP_swazu2fTl/mntpoint
> > fstyp=ext2 flags=0
> > tst_ioctl.c:26: TINFO: FIBMAP ioctl is supported
> > libswap.c:146: TBROK: Failed to create swapfile



> Err, I reproduce it with an RHEL9 ppc64le too.
> I guess it does not allow to create a file that size less than page_size.

> Once I replace the blk_size with page_size, all tests get passed.

+1, great. Feel free to merge the rest with my ack.

Kind regards,
Petr


More information about the ltp mailing list