Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9166

missing trailing newlines in mdt/*/hsm/policy and mdd/*/changelog_mask

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • 3
    • 9223372036854775807

    Description

      x:~# cat /proc/fs/lustre/mdt/lustre-MDT0000/hsm/policy
      NonBlockingRestore [NoRetryAction]x:~# 
      x:~# cat /proc/fs/lustre/mdd/lustre-MDT0000/changelog_mask
      MARK CREAT MKDIR HLINK SLINK MKNOD UNLNK RMDIR RENME RNMTO OPEN CLOSE LYOUT TRUNC SATTR XATTR HSM MTIME CTIME MIGRT x:~# 
      

      We should also add a test to sanity to check that all readable non-empty proc files have a trailing newline (except possibly for a short list of known exceptions). A missing trailing newline doesn't look nice has has been known to confuse test scripts.

      Attachments

        Issue Links

          Activity

            [LU-9166] missing trailing newlines in mdt/*/hsm/policy and mdd/*/changelog_mask
            pjones Peter Jones added a comment -

            Landed for 2.10

            pjones Peter Jones added a comment - Landed for 2.10

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25977/
            Subject: LU-9166 mdt: Add trailing newlines to proc files
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 89c31f6814a49a2697259ffe57e480e6653d31ee

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25977/ Subject: LU-9166 mdt: Add trailing newlines to proc files Project: fs/lustre-release Branch: master Current Patch Set: Commit: 89c31f6814a49a2697259ffe57e480e6653d31ee

            Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/25977
            Subject: LU-9166 mdt: Add trailing newlines to proc files
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d7e17bfa78c641df310b7ac1a8ec90667e9c03e5

            gerrit Gerrit Updater added a comment - Steve Guminski (stephenx.guminski@intel.com) uploaded a new patch: https://review.whamcloud.com/25977 Subject: LU-9166 mdt: Add trailing newlines to proc files Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d7e17bfa78c641df310b7ac1a8ec90667e9c03e5

            Hi Steve,

            Could you add this to your queue as well?

            Thanks.
            Joe

            jgmitter Joseph Gmitter (Inactive) added a comment - Hi Steve, Could you add this to your queue as well? Thanks. Joe

            People

              sguminsx Steve Guminski (Inactive)
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: