Could you change the file creation to use `fallocate -l` instead of `dd` (I assume) that way it's instant
EDIT:
I guess not https://askubuntu.com/a/1017312
RE-EDIT:
ok maybe it is ok on xfs?
http://manpages.ubuntu.com/manpages/kinetic/en/man8/swapon.8.html
I'm making a PR now
I'm having a problem where after 10GB ish it hangs