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

Simplify code of ll_direct_rw_pages

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: