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

vvp_lock, lov_page, and lovsub_{lock,page} are (more or less) unused

    XMLWordPrintable

Details

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

    Description

      struct vvp_lock, lovsub_lock and lovsub_page can be removed. Nothing happens if these layers are omitted from the corresponding cl_lock or cl_page object. If lps_index is moved to cl_page (which makes some sense based on how it's used) then lov_page can be similarly removed.

      Removing struct lov_page and lovsub_page reduces the size of a cl_page object from 448 to 344 bytes on x86_64 and puts us in shouting distance from using slab-256 for cl_pages.

      Attachments

        Issue Links

          Activity

            People

              jhammond John Hammond
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: