swapon fails to activate the swapfile since 5.7, complaining:
swapon: swapfile has holes
Same swapfile can be activated on 5.6
Filesystem is ext4, on LUKS dm-crypt
I have narrowed down this problem.
I can confirm this solves the problem.
What is it waiting for?
This has hit Arch Linux main line, see https://bugs.archlinux.org/task/66921.
I use Arch linux too. And I had created /swapfile using fallocate (for many of servers I maintain)
It was working fine. But now I get same error that "swapfile has holes"
I am wondering if this is kernel bug and will be fixed in next kernel? (I see there is patch for it)
I should go and re-create /swapfile on all servers using dd? (which will need a downtime which I am trying to avoid)