[LTP] [PATCH v1 1/1] swap: Add exfat to filesystems requiring tst_fill_file
Namjae Jeon
linkinjeon@kernel.org
Wed Aug 26 02:23:39 CEST 2026
On Tue, Aug 25, 2026 at 10:46 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
> Hi!
Hi Cyril, Petr,
> > > That does not make much sense, if swap_activate was added to kernel,
> > > pre-filling the fallocated file shouldn't be needed anymore.
> >
> > Good catch, you're right. I'm also confused, before v7.2 swap worked on exfat,
> > now even with 82a81a7352bc ("exfat: add iomap buffered I/O support") [2]
> > and your fix 03a43677ca91 ("exfat: add swap_activate support") [3] is not
> > working. Obviously the fix was not good enough.
>
> There were two bugs I suppose, one is that fallocate() support for exfat broke
> the swapon on fallocated file. The second bug was introduced later when
> exfat was rewritten to use iomap. The iomap case was fixed in the patch
> above, however it looks like the original bug caused by fallocate()
> implementation for exfat is still there.
Can you check if an attached patch improves this issue?
Thanks.
More information about the ltp
mailing list