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

PFL llapi_layout_comp_add() should inherit pool from previous component layout

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.10.0
    • Fix Version/s: Lustre 2.10.0
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      The llapi_layout_comp_add(layout, new_component) function should inherit unset fields from "layout" if they are unset:

      llapi_layout_comp_add(3)
      adds the layout component comp into the layout.
      The layout will be turned into composite if it was plain before adding. All layout attributes of comp will be inherited from the layout, unless otherwise specified for this component by llapi_layout_*_set(3) functions.

      In my testing, the "--pool" option is not inherited for the second and later components.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bobijam Zhenyu Xu
                Reporter:
                adilger Andreas Dilger
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: