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

call lustre_msg_get_opc() only once inside ost_handle()

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.4.0
    • Labels:
    • Rank (Obsolete):
      7732

      Description

      lustre_msg_get_opc() is called a few times inside ost_handle(); there is no real benefit from this, and we can just make one call when entering ost_handle(). There may be other occurrences in the source where this applies, apart from ost_handle(), but I am just making this change here for now, as this is a frequently-called function.

        Attachments

          Activity

            People

            • Assignee:
              jamesanunez James Nunez
              Reporter:
              nangelinas Nikitas Angelinas
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: