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

PFL llapi_layout_comp_add() should inherit pool from previous component layout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.10.0
    • Lustre 2.10.0
    • 3
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: