Skip to content

BTRFS swapfile support and code cleanup

Compare
Choose a tag to compare
@vilgotf vilgotf released this 07 Jun 09:49
· 148 commits to master since this release
379c7e7

New features

  • BTRFS swapfile support
  • Only create the first swapfile (swapfc) if we're low on ram instead of on startup
  • Setting to specify zRAM count

Updates

  • Update defaults to zstd compression and z3fold
  • Remove dependencies on external shell programs improving performance
  • Various code cleanups
  • Various documentation updates
  • Harden systemd service

Bug fixes

  • Use dd instead of fallocate if we're on ext4/3, f2fs or xfs (#109)
  • Don't attempt chattr +C on filesystems that don't support the flag

Regressions

If you're running Ubuntu 18.04 or Centos 7 or older, please comment out line 25 in /usr/lib/systemd/system/systemd-swap.service (see #118)