[LTP] [PATCH v3 1/2] libswap: add two methods to create swapfile
Li Wang
liwang@redhat.com
Tue Apr 16 08:35:14 CEST 2024
Hi Petr,
Thanks for reporting this.
On Mon, Apr 15, 2024 at 11:20 PM Petr Vorel <pvorel@suse.cz> wrote:
> Hi Li,
>
> > Petr Vorel <pvorel@suse.cz> wrote:
>
> > > > Thanks, I would give the patch set more time in case others have
> > > comments.
>
> > > Sure. Thanks for a nice work!
>
>
> > Patch set applied.
>
> FYI it looks like this patch merge as:
>
> f987ffff5 ("libswap: add two methods to create swapfile")
>
> introduced TWARN on all tests which touched: swapoff0[12], swapon0[1-3] on
> openSUSE Tumbleweed
> on ppc64le (e.g. very close to mainline stable kernels: 6.8.x). Have you
> noticed
> this on Fedora as well? I hope to manage to have look on it soon, but
> maybe
> it's obvious to you already.
>
> libswap.c:163: TWARN: Swapfile size is less than the system page size.
> Using page size (65536 bytes) instead of block size (4096 bytes).
>
Yes, that is expected on a system with a larger page size, so it could
guarantee at least one page can be swapped out.
Do you want to switch to using TINFO for the choice? TBH it
doesn't matter to report that WARNING message.
--
Regards,
Li Wang
More information about the ltp
mailing list