[LU-12191] lctl list_param -R does not display everything Created: 16/Apr/19 Updated: 25/Feb/20 Resolved: 25/Feb/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sonia Sharma (Inactive) | Assignee: | James A Simmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
While testing lnet sysfs patches, it is found that lctl list_param -R does not display everything under sysfs tree. The lnet-sysfs hierarchy is something like - But lctl list_param -R does not display anything beyond This is because of the below code in param_display function in - tmp = strstr(paths.gl_pathv[i], param_name); Here instead of param_name, it should be /param_name/ |
| Comments |
| Comment by Gerrit Updater [ 16/Apr/19 ] |
|
Sonia Sharma (sharmaso@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34693 |
| Comment by Gerrit Updater [ 24/Apr/19 ] |
|
Sonia Sharma (sharmaso@whamcloud.com) merged in patch https://review.whamcloud.com/34693/ |
| Comment by Gerrit Updater [ 26/Nov/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/36852 |
| Comment by Gerrit Updater [ 25/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36852/ |
| Comment by Peter Jones [ 25/Feb/20 ] |
|
Landed for 2.14 |