Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.14.0
    • Fix Version/s: Lustre 2.14.0
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      lustre_grow_msg_v2() should move memory region even if new size for buffer has already been set. The use case is when it is called via mdt_dom_read_on_open() and req_capsule_server_grow() in order to put DoM file content into RMF_NIOBUF_INLINE field (RQF_LDLM_INTENT_OPEN request with ldlm_intent_open_server format for server part). Indeed, there is another field RMF_FILE_SECCTX (and soon another one for encryption context support) after RMF_NIOBUF_INLINE.

      To achieve this, I will push a patch that adds an 'oldlen' parameter.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebastien Sebastien Buisson
                Reporter:
                sebastien Sebastien Buisson
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: