Announcement

Collapse
No announcement yet.

Btrfs Gets Some Useful Fixes/Improvements With The Linux 5.2 Kernel

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Btrfs Gets Some Useful Fixes/Improvements With The Linux 5.2 Kernel

    Phoronix: Btrfs Gets Some Useful Fixes/Improvements With The Linux 5.2 Kernel

    David Sterba sent in the Btrfs file-system updates already for the now-open Linux 5.2 merge window...

    http://www.phoronix.com/scan.php?pag...inux-5.2-Fixes

  • #2
    Originally posted by phoronix View Post
    TRIM/Discard now skips unallocated chunks not touched since the last mount
    This is great, but what about when the filesystem is newly-created? Will fstrim still reclaim the empty space, or will I have to fill the filesystem with a giant file and delete it, just to trim the blocks from whatever was on the previous filesystem?

    Comment


    • #3
      Originally posted by coder View Post
      This is great, but what about when the filesystem is newly-created? Will fstrim still reclaim the empty space, or will I have to fill the filesystem with a giant file and delete it, just to trim the blocks from whatever was on the previous filesystem?
      https://btrfs.wiki.kernel.org/index....age/mkfs.btrfs

      the -K | --nodiscard option prevents trim from being executed at mkfs time... there you go

      http://www.dirtcellar.net

      Comment


      • #4
        Originally posted by coder View Post
        This is great, but what about when the filesystem is newly-created? Will fstrim still reclaim the empty space, or will I have to fill the filesystem with a giant file and delete it, just to trim the blocks from whatever was on the previous filesystem?
        mkfs.btrfs will discard the whole block device for you prior to actually creating the filesystem.

        Comment

        Working...
        X