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

Request for the addition of two debugging options

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • 9223372036854775807

      Hi,

      Debugging configurables are grouped into two categories:

      1. Subsystems
      2. Debug types

      But the command line options are not consistent:

      a. `lctl debug_list` shows "subs" and "types.

      b. `lctl debug_list subs` lists all the Subsystems.

      c. `lctl debug_list types` lists all the Debug Types.

      d. `lctl get_param subs` returns an ERROR.

      e. `lctl get_param types` returns an ERROR.

      Instead:

      f. `lctl get_param subsystem_debug` lists the enabled Subsystems.

      g. `lctl get_param debug` lists the enabled Debug Types.

      Much as the 'dk | debug_kernel' and the 'df | debug_file' options perform the same work, would it be possible to continue the pattern seen in "a." through "c." by creating options "d." and "e." to function like "f." and "g."? This would add consistency without breaking existing functionality.

      1. cat /proc/fs/lustre/version
        lustre: 2.5.37.7

      Thanks, -Brett

            wc-triage WC Triage
            brett.lee Brett Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: