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

Stale comment in osc_page_transfer_add

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Ever since second patch in LU-3321 the comment became untrue, and then ops_inflight became deleted too making it even more out of date.

      static void osc_page_transfer_add(const struct lu_env *env,
                                        struct osc_page *opg, enum cl_req_type crt)
      {
              struct osc_object *obj = cl2osc(opg->ops_cl.cpl_obj);
      
              /* ops_lru and ops_inflight share the same field, so take it from LRU
               * first and then use it as inflight. */
              osc_lru_use(osc_cli(obj), opg);
      }
      

      Attachments

        Issue Links

          Activity

            [LU-7912] Stale comment in osc_page_transfer_add
            jgmitter Joseph Gmitter (Inactive) made changes -
            Fix Version/s New: Lustre 2.13.0 [ 14290 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Patch has landed for 2.13.0

            jgmitter Joseph Gmitter (Inactive) added a comment - Patch has landed for 2.13.0

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/19115/
            Subject: LU-7912 osc: Remove stale comment in osc_page_transfer_add
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 4a183613a6aa4c1cd4e6c8fc4c35945a640bda9f

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/19115/ Subject: LU-7912 osc: Remove stale comment in osc_page_transfer_add Project: fs/lustre-release Branch: master Current Patch Set: Commit: 4a183613a6aa4c1cd4e6c8fc4c35945a640bda9f
            pjones Peter Jones made changes -
            Fix Version/s Original: Lustre 2.11.0 [ 13091 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.11.0 [ 13091 ]
            Fix Version/s Original: Lustre 2.10.0 [ 12204 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.10.0 [ 12204 ]
            Fix Version/s Original: Lustre 2.9.0 [ 11891 ]
            pjones Peter Jones made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Oleg Drokin [ green ]
            green Oleg Drokin added a comment -

            cl_io_cancel is no longer used and should be removed

            green Oleg Drokin added a comment - cl_io_cancel is no longer used and should be removed
            green Oleg Drokin added a comment -

            cl_locks_prune is also long gone after simplification, but is still referenced in cl_locks_prunelustre/osc/osc_cl_internal.h

            green Oleg Drokin added a comment - cl_locks_prune is also long gone after simplification, but is still referenced in cl_locks_prunelustre/osc/osc_cl_internal.h
            jgmitter Joseph Gmitter (Inactive) made changes -
            Fix Version/s New: Lustre 2.9.0 [ 11891 ]

            People

              green Oleg Drokin
              green Oleg Drokin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: