Re: Fix fallocate issue on cloud-init 19.4 for Fedora 33 cloud images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tl;dr Creating a swapfile with fallocate should work on XFS now.

Found this thread from about 3 years ago
https://www.spinics.net/lists/linux-mm/msg147100.html

There were a few things that needed work to fix it, and I'm not sure
which one finally did it, but this 2019 patch was part of that series:
https://lore.kernel.org/linux-xfs/20191008071527.29304-16-hch@xxxxxx/

That is in 5.7, which is what Fedora 33 shipped with.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/fs/xfs/xfs_aops.c?h=v5.7

Anyway...even though I can't nail down exactly when it got fixed,
today I asked the XFS maintainer about all of this and he said
fallocate'd swapfiles should work. And I also tested it with kernel
5.11.16 and 5.12 and it does work.

--
Chris Murphy
_______________________________________________
cloud mailing list -- cloud@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to cloud-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/cloud@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux