aka @rotopenguin@mastodon.social

  • 0 Posts
  • 45 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle









  • rotopenguin@infosec.pubtoLinux@lemmy.mlHelp on BTRFS setup
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 months ago

    I don’t see how swap has much chance to fragment. A swapfile has to be fully allocated up front and cannot be CoW. If it’s allocated well in the first place, it will stay that way.

    The swap code doesn’t really do I/O through the filesystem. AIUI, it locks the file, gets the disk block #s from the FS, and after that it accesses those blocks directly.