From: Petr Vorel <pvorel@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [Patch v6 7/8] swapon/off: enable all_filesystem in swap test
Date: Thu, 1 Feb 2024 08:46:33 +0100 [thread overview]
Message-ID: <20240201074633.GA58275@pevik> (raw)
In-Reply-To: <CAEemH2fVdZdTnRUZSWCrZrqKYyuVWvu8nNQ4A=d3h7389KO3+g@mail.gmail.com>
> 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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-02-01 7:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-31 10:25 [LTP] [Patch v6 0/8] improvement work on libswap library Li Wang
2024-01-31 10:25 ` [LTP] [Patch v6 1/8] libswap: add known swap supported fs check Li Wang
2024-01-31 10:25 ` [LTP] [Patch v6 2/8] swapon01: Test on all filesystems Li Wang
2024-01-31 10:25 ` [LTP] [Patch v6 3/8] swapon01: Improving test with memory limits and swap reporting Li Wang
2024-01-31 10:25 ` [LTP] [Patch v6 4/8] libswap: add function to prealloc contiguous file Li Wang
2024-01-31 10:25 ` [LTP] [Patch v6 5/8] libswap: Introduce file contiguity check Li Wang
2024-01-31 10:25 ` [LTP] [Patch v6 6/8] libswap: customize swapfile size Li Wang
2024-01-31 18:01 ` Petr Vorel
2024-01-31 10:25 ` [LTP] [Patch v6 7/8] swapon/off: enable all_filesystem in swap test Li Wang
2024-01-31 17:38 ` Petr Vorel
2024-01-31 18:53 ` Petr Vorel
2024-01-31 19:01 ` Petr Vorel
2024-02-01 6:57 ` Li Wang
2024-02-01 7:46 ` Petr Vorel [this message]
2024-02-01 8:05 ` Li Wang
2024-02-01 4:00 ` Li Wang
2024-01-31 10:25 ` [LTP] [Patch v6 8/8] libswap: Refactor is_swap_supported function to return status Li Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240201074633.GA58275@pevik \
--to=pvorel@suse.cz \
--cc=liwang@redhat.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox