[LU-7697] Request for the addition of two debugging options Created: 22/Jan/16  Updated: 22/Jan/16

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Brett Lee (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

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


Generated at Sat Feb 10 02:11:09 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.