[LU-10507] Use {save,restore}_layout() to save and restore layout in test cases Created: 12/Jan/18 Updated: 25/Mar/19 Resolved: 09/Feb/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.11.0, Lustre 2.10.7 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Jinshan Xiong (Inactive) | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
From https://review.whamcloud.com/#/c/30836/ {save,restore}_layout() are "probably more reliable than the mechanism used in e.g. sanity-pfl.sh test_10, which tries to parse the layout parameters and restore them, but that will only work for simple layouts. It would be good to update that test to use save_layout() and restore_layout() as well. |
| Comments |
| Comment by Gerrit Updater [ 12/Jan/18 ] |
|
Jinshan Xiong (jinshan.xiong@intel.com) uploaded a new patch: https://review.whamcloud.com/30858 _layout() in test |
| Comment by Gerrit Updater [ 09/Feb/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30858/ _layout() in test |
| Comment by Gerrit Updater [ 01/Feb/19 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34159 _layout() in test |
| Comment by Gerrit Updater [ 25/Feb/19 ] |
|
Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/34159/ _layout() in test |