[LTP] [PATCH v1 1/1] swap: Add exfat to filesystems requiring tst_fill_file
Andrea Cervesato
andrea.cervesato@suse.com
Wed Jun 17 17:19:07 CEST 2026
> I'm just wondering how to implement it better.
>
> First of all, we should mention the commit that introduced fallocate()
> support into exfat inside the patch commit message.
>
> Secondly, since the code was already working before v7.1, maybe we should
> fill the file in exfat only for kernel >= 7.1. But I don't want to touch
> the core library.
Second update: .swap_activate is not implemented in the linux kernel
for exfat and the commit causes EINVAL only for swap allocation. That
is caused by bmap() due to the generic swap activation.
So instead of working around the issue, we probably should have a feature
in the kernel along with fallocate() support in exfat.
Probably a kernel bug/missing feature.
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
More information about the ltp
mailing list