Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
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 -
/sys/fs/lnet/net/o2ib1/ib0
But lctl list_param -R does not display anything beyond
/sys/fs/lnet/net
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/
Attachments
Activity
Fix Version/s | New: Lustre 2.14.0 [ 14490 ] | |
Assignee | Original: WC Triage [ wc-triage ] | New: James A Simmons [ simmonsja ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Description |
Original:
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 - {{/sys/fs/lnet/net/o2ib1/ib0}} But {{lctl list_param -R}} does not display anything beyond {{/sys/fs/lnet/net}} This is because of the below code in param_display function in - {code:java} tmp = strstr(paths.gl_pathv[i], param_name); {code} Here instead of {{param_name}}, it should be "/'param_name/' |
New:
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 - {{/sys/fs/lnet/net/o2ib1/ib0}} But {{lctl list_param -R}} does not display anything beyond {{/sys/fs/lnet/net}} This is because of the below code in param_display function in - {code:java} tmp = strstr(paths.gl_pathv[i], param_name); {code} Here instead of {{param_name}}, it should be /param_name/ |
Landed for 2.14