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

Stale comment in osc_page_transfer_add

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.13.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      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

              People

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

                Dates

                Created:
                Updated:
                Resolved: