[LU-9357] PFL llapi_layout_comp_add() should inherit pool from previous component layout Created: 18/Apr/17  Updated: 12/May/17  Resolved: 12/May/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0
Fix Version/s: Lustre 2.10.0

Type: Bug Priority: Major
Reporter: Andreas Dilger Assignee: Zhenyu Xu
Resolution: Fixed Votes: 0
Labels: pfl

Issue Links:
Related
is related to LU-8998 Progressive File Layout (PFL) Resolved
is related to LU-9349 PFL known issues tracking ticket Resolved
is related to LU-9388 test PFL with DNE (test cases F06 and... Resolved
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.



 Comments   
Comment by Gerrit Updater [ 20/Apr/17 ]

Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/26750
Subject: LU-9357 pfl: should inherit pool from previous layout comp
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 99e3062d282a555c748d080cbc652eb5730df04f

Comment by Gerrit Updater [ 27/Apr/17 ]

Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/26862
Subject: LU-9357 pfl: should inherit pool from previous layout comp
Project: fs/lustre-release
Branch: pfl
Current Patch Set: 1
Commit: be91774e27e007e45e1be491d724c70e68ad0c7a

Comment by Gerrit Updater [ 01/May/17 ]

Jinshan Xiong (jinshan.xiong@intel.com) merged in patch https://review.whamcloud.com/26862/
Subject: LU-9357 pfl: should inherit pool from previous layout comp
Project: fs/lustre-release
Branch: pfl
Current Patch Set:
Commit: ceb2009322d7ecb95ad7adf27a8de1fb73c11cd7

Comment by Gerrit Updater [ 12/May/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26750/
Subject: LU-9357 pfl: should inherit pool from previous layout comp
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ca50009a3d2f5fed0c07f2ddaeecf4b252c70f6a

Comment by Peter Jones [ 12/May/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:25:29 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.