On Sat, 6 Mar 2021 15:56:42 +1300, Peter Reutemann quoted:
'...the problem with this 5.12 release candidate
swapfile handling in a very unpleasant way. Specifically, the updated
code would lose the proper offset pointing to the beginning of the
swapfile. Again, in Torvalds' own words, "swapping still happened, but
it happened to the wrong part of the filesystem, with the obvious
catastrophic end results."'
Note that only swap files were affected, not swap partitions. Seems
Ubuntu likes to use swap files, while others stick to swap partitions.
The article points out that swap files have lower performance as well as