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

Simplify code of ll_direct_rw_pages

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      In function ll_direct_rw_pages, the cl_page_find will return a cl_page with cp_type of CPT_TRANSIENT for sure. And we will not cache this type of cl_page anymore.

      So, i think we could remove the code of the logical when the cp_type is equal CPT_CACHABLE which is the code need in old version that cached the cl_page into the radix tree no matter what the type is.

        Attachments

          Activity

            People

            • Assignee:
              jay Jinshan Xiong (Inactive)
              Reporter:
              gnlwlb wu libin (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: