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

remove obd_{get,put}ref() and call lov_{get,put}ref() directly

Details

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

    Description

      obd_getref() and obd_putref() are only used in the lov layer and only implemented by the lov layer. So they can be removed in favor of direct calls. Also the naming of these functions can be improved, since they do not manage references on the lov device but on its targets array.

      Attachments

        Activity

          [LU-11051] remove obd_{get,put}ref() and call lov_{get,put}ref() directly
          pjones Peter Jones added a comment -

          Landed for 2.12

          pjones Peter Jones added a comment - Landed for 2.12

          Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32529/
          Subject: LU-11051 obd: remove obd_

          {get,put}

          ref()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 0aeb8c251e852784451140f137faa361e04bfcc5

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32529/ Subject: LU-11051 obd: remove obd_ {get,put} ref() Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0aeb8c251e852784451140f137faa361e04bfcc5

          John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/32529
          Subject: LU-11051 obd: remove obd_

          {get,put}

          ref()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 853785b7b218edf617fdea9080b365e6c3aea55e

          gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/32529 Subject: LU-11051 obd: remove obd_ {get,put} ref() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 853785b7b218edf617fdea9080b365e6c3aea55e

          People

            jhammond John Hammond
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: