Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-12191

lctl list_param -R does not display everything

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • 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

          People

            simmonsja James A Simmons
            sharmaso Sonia Sharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: