• SuperIce@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      9 months ago

      Yeah, it’s unnecessary with btrfs on somewhat recent kernels since it now enables discard=async by default.

      • bazsy@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        9 months ago

        It is not necessary but still better to run both online discard and batched fstrim. from man:

        Also, a device may ignore the TRIM command if the range is too small, so running a batch discard has a greater probability of actually discarding the blocks.