• SuperIce@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      11 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
        3
        ·
        11 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.