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

config instance truncation due to buffer size mismatch

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.12.0, Lustre 2.13.0
    • Fix Version/s: Lustre 2.13.0, Lustre 2.12.1
    • Labels:
      None
    • Rank (Obsolete):
      9223372036854775807

      Description

      The formatting of the cfg_instance variable was changed in patch https://review.whamcloud.com/33900 "LU-11809 llite: don't use %p to generate cfg_instance" to always use a fixed "%016llu" format, but the temporary buffer allocations for the instance string were not changed to match the printed value.

      This results in string truncation in some situations.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adilger Andreas Dilger
                Reporter:
                adilger Andreas Dilger
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: