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

call lustre_msg_get_opc() only once inside ost_handle()

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.4.0
    • None
    • 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

          [LU-3172] call lustre_msg_get_opc() only once inside ost_handle()
          jamesanunez James Nunez (Inactive) made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          jamesanunez James Nunez (Inactive) made changes -
          Fix Version/s New: Lustre 2.4.0 [ 10154 ]
          jamesanunez James Nunez (Inactive) made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          jamesanunez James Nunez (Inactive) made changes -
          Assignee Original: WC Triage [ wc-triage ] New: James Nunez [ jamesanunez ]
          pjones Peter Jones made changes -
          Labels New: patch
          nangelinas Nikitas Angelinas created issue -

          People

            jamesanunez James Nunez (Inactive)
            nangelinas Nikitas Angelinas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: