Bug 207585
Summary: | Swap file has holes since 5.7 | ||
---|---|---|---|
Product: | File System | Reporter: | yshuiv7 |
Component: | VFS | Assignee: | Jens Axboe (axboe) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | adilahbisar, aghamajid429, anon.amish, dominik.schrempf, fademind, Michaelnussbaum08, mirh, slandden |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.7-rc4 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
yshuiv7
2020-05-05 14:47:40 UTC
I have narrowed down this problem. I can confirm this solves the problem. What is it waiting for? This has hit Arch Linux main line, see https://bugs.archlinux.org/task/66921. I use Arch linux too. And I had created /swapfile using fallocate (for many of servers I maintain) It was working fine. But now I get same error that "swapfile has holes" I am wondering if this is kernel bug and will be fixed in next kernel? (I see there is patch for it) OR I should go and re-create /swapfile on all servers using dd? (which will need a downtime which I am trying to avoid) Thank you. |