[LU-13152] llapi layout llc_pattern is not set properly on DoM component Created: 17/Jan/20 Updated: 25/Feb/20 Resolved: 28/Jan/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.3 |
| Fix Version/s: | Lustre 2.14.0, Lustre 2.12.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Clément Barthelemy (Inactive) | Assignee: | Sebastien Buisson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
The function llapi_layout_get_by_xattr does not set the llc_pattern of a DoM component to LLAPI_LAYOUT_MDT but to LOV_PATTERN_MDT. This causes the function llapi_layout_pattern_set to fail because it is expecting one of the LLAPI_LAYOUT values. I'm attaching a simplistic patch to explain. |
| Comments |
| Comment by Gerrit Updater [ 17/Jan/20 ] |
|
Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/37269 |
| Comment by Gerrit Updater [ 28/Jan/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37269/ |
| Comment by Peter Jones [ 28/Jan/20 ] |
|
Landed for 2.14 |
| Comment by Gerrit Updater [ 03/Feb/20 ] |
|
Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/37409 |
| Comment by Gerrit Updater [ 25/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37409/ |