Post #186
4.94K
Arch Linux Chinese Messages 在 ext4 上使用 swapfile 的用户请注意,升级到 5.7.x 内核后可能出现诸如「kernel: swapon: swapfile has holes」这样的报错而无法启用 swapfile 。使用 dd 命令创建 swapfile (而非 fallocate) 可能可以解决问题,也可以回退 5.6 系列内核等待上游修复。 Arch Linux 错误跟踪: https://bugs.archlinux.org/task/66921 内核错误跟踪: https://bugzilla.kernel…
ext4 这个由 fallocate 创建的 swap file has holes 问题相关修复进入了 5.9.5-arch2 https://github.com/archlinux/linux/commit/56766806588f3f20afdd7172f1a661fa0c49fecb 目前 5.9.6 还在 testing 内
GitHub ext4: implement swap_activate aops using iomap · archlinux/linux@5676680 commit 0e6895ba00b7be45f3ab0d2107dda3ef1245f5b4 upstream.
After moving ext4's bmap to iomap interface, swapon functionality
on files created using fallocate (which creates unwritten extent...