Details

    • 9223372036854775807

    Description

      Similar idea of fstrim, use SSD as backend of Lustre filesystem might have performances
      drop with gc running in the background.

      We have mount option '-o discard'(etc) for ldiskfs to trigger discard automatically
      whenever filesystem free some space, but as our benchmarking this could
      introduce latency too, and also this is somehow out of control.

      So it is desirable for administrators to do trim manually, for example
      doing trim if system are idle.

      Attachments

        Issue Links

          Activity

            [LU-11355] Add Lustre trim support

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35196/
            Subject: LU-11355 lustre: enable fstrim on lustre device
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: a1ccd957f0667398a1685dd1932bf35153a7f160

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35196/ Subject: LU-11355 lustre: enable fstrim on lustre device Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: a1ccd957f0667398a1685dd1932bf35153a7f160

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35196
            Subject: LU-11355 lustre: enable fstrim on lustre device
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 83f29e0886f4bf4592ef1b4c21ecedae32bbc1ea

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35196 Subject: LU-11355 lustre: enable fstrim on lustre device Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 83f29e0886f4bf4592ef1b4c21ecedae32bbc1ea
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33131/
            Subject: LU-11355 lustre: enable fstrim on lustre device
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: d5be104cc9b0c7a71b30aa5feb16873aa30803a9

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33131/ Subject: LU-11355 lustre: enable fstrim on lustre device Project: fs/lustre-release Branch: master Current Patch Set: Commit: d5be104cc9b0c7a71b30aa5feb16873aa30803a9
            gerrit Gerrit Updater added a comment - - edited

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34636
            Subject: LU-11355 lustre: add lustre trim device support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: e768efa6a77bff54cb60271b77d3c3e8cc0f5173

            gerrit Gerrit Updater added a comment - - edited Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34636 Subject: LU-11355 lustre: add lustre trim device support Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e768efa6a77bff54cb60271b77d3c3e8cc0f5173

            Hi,

            Nice job, agree it will be very useful to have this feature.

             

            delbaryg DELBARY Gael (Inactive) added a comment - Hi, Nice job, agree it will be very useful to have this feature.  

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/33131
            Subject: LU-11355 lustre: add lustre trim device support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 45cde02b17b77bcd230f2b083d6f91d5687717ca

            gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/33131 Subject: LU-11355 lustre: add lustre trim device support Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 45cde02b17b77bcd230f2b083d6f91d5687717ca

            People

              wshilong Wang Shilong (Inactive)
              wshilong Wang Shilong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: