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
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-26 [ JFC-26 ]
            pjones Peter Jones made changes -
            Labels Original: LTS12 patch ssdopt New: patch ssdopt
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.12.3 [ 14418 ]

            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 made changes -
            Link New: This issue is related to EX-527 [ EX-527 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to JFC-26 [ JFC-26 ]
            pjones Peter Jones made changes -
            Labels Original: patch ssdopt New: LTS12 patch ssdopt
            pjones Peter Jones made changes -
            Issue Type Original: New Feature [ 2 ] New: Improvement [ 4 ]
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

            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: