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

unravel #DEFINEs in cl_page.c

    XMLWordPrintable

Details

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

    Description

      CL_PAGE_INVOKE, CL_PAGE_INVOID and CL_PAGE_INVOID_REVERSE all simply call list_for_each_entry (or list_for_each_entry_reverse) and call one of the functions from cl_page_operations.

      It's much simpler and easy to read to unroll these #defines, along with CL_PAGE_OP and use the correct code.

      Attachments

        Activity

          People

            bevans Ben Evans (Inactive)
            bevans Ben Evans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: