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

Move more members in PTLRPC request into pill

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • None
    • 9223372036854775807

    Description

      Many fields in data struct @ptlrpc_request can be moved into the data struct @req_capsule:
      /** Request message - what client sent */
      struct lustre_msg *rq_reqmsg;
      /** Reply message - server response */
      struct lustre_msg *rq_repmsg;
      /** Fields that help to see if request and reply were swabbed or not */
      __u32 rq_req_swab_mask;
      __u32 rq_rep_swab_mask;

      After this data structure reconstructing, req_capsule can be more common usage and it makes pack and unpack sub request for the coming batch metadata processing more easily.

      Attachments

        Issue Links

          Activity

            People

              qian_wc Qian Yingjin
              qian_wc Qian Yingjin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: