On Wed, Sep 4, 2019 at 1:03 PM Chris Murphy <lists(a)colorremedies.com> wrote:
I'm skeptical of swapfiles for this use case, because it likely
increases the chance for file system disk contention, see section
11.17
https://www.kernel.org/doc/gorman/html/understand/understand014.html
Actually that looks outdated now.
https://patchwork.kernel.org/patch/10347293/
Btrfs since 5.0 also supports swapfiles by avoiding bmap, using
btrfs_swap_activate, the btrfs equivalent of iomap_swap_activate
--
Chris Murphy