Re: [PATCH v1 1/1] swap: Add exfat to filesystems requiring tst_fill_file

Jan Polensky <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
On Thu, Jun 18, 2026 at 12:04:27PM +0000, Andrea Cervesato wrote:
> Hi Jan,
>
> > Hi Andrea,
> >
> > just to add some context: the regression itself was on the kernel side.
> > The relevant upstream patch is
> > https://lore.kernel.org/all/20260603131950.321858-1-japo-tEXmvtCZX7AybS5Ee8rs3A@public.gmane.org/.
> > My understanding is that the kernel-side change did not resolve the issue
> > for the LTP test suite, and that there was also a separate LTP-relevant
> > aspect for exfat swapfiles, where actual data writes are required before
> > swapon() succeeds.
>
> Sorry, I forgot to properly reply to this email.
>
> Today I sent a patch to fix the kernel, you can take a look at it here:
> https://lore.kernel.org/all/20260618-exfat_swap_activate-v1-1-4c6a465df295-IBi9RG/[email protected]/
>
> This patch should fix the issue, let me know if you are still seeing a
> failure in the LTP tests after applying it.
>
> Thanks,
> --
> Andrea Cervesato
> SUSE QE Automation Engineer Linux
> andrea.cervesato-IBi9RG/[email protected]
Hi Andrea,

thanks, this fixes the swapping issue for me on s390.

There is just one remaining problem: when exfat is built as a module
(CONFIG_EXFAT_FS=m), the build fails because
generic_swapfile_activate() is not exported.

Please add EXPORT_SYMBOL_GPL(generic_swapfile_activate) in mm/page_io.c.

Best regards,
Jan

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.