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

struct hsm_user_request extent fields set to random values.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • Lustre 2.15.0
    • None
    • RHEL7.9 client.
    • 3
    • 9223372036854775807

    Description

      While working on another unrelated patch sanity-hsm test 29c started to fail. The reason for this failure was llapi_hsm_user_request_alloc() allocates a struct hsm_user_request but never zeros the values. So the extent fields could have random values which where sent to the MDT and back to the copytool. If the extent field was larger then the size of the migrating file then the copytool would see this as a failure. The bug was hidden due to the linking flags which in the unrelated patch changed and exposed this problem.

      Attachments

        Issue Links

          Activity

            People

              simmonsja James A Simmons
              simmonsja James A Simmons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: