[LU-9153] improve FID/config name specification for lctl llog_print and llog_info Created: 24/Feb/17  Updated: 12/Jun/22  Resolved: 19/Jul/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: easy

Issue Links:
Related
is related to LU-9994 sanity-scrub test_5: test failed to r... Resolved
is related to LU-2149 Make lctl llog commands to be used fr... Resolved
is related to LU-15936 DOSTID macro is not printing llog IDs... Resolved
is related to LUDOC-352 document lctl llog_print Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Current llog name specification is totally non-standard for lctl llog_print, llog_info, and related commands. Change this to optionally accept config llog names without the leading '$', since adding '$' is non-intuitive and the shell will think this is a variable and "$fsname-client" becomes "-client".

Similarly, llog identifiers are formatted like "#0x4:10#0000000" instead of the standard FID format [0x4:0x10:0x0]. Update the code to print FIDs in standard format.



 Comments   
Comment by Gerrit Updater [ 27/Feb/17 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/25640
Subject: LU-9153 llog: update llog print format to use FIDs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cc29b6949618b35eff163158ec6f664c21a5a8e2

Comment by Gerrit Updater [ 23/Mar/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25468/
Subject: LU-9153 utils: improve llog name parsing
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a7a0e4070fba3091edc4921769fe36cb6262697d

Comment by Gerrit Updater [ 27/Mar/17 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/26211
Subject: LU-9153 llog: consolidate common error checking
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 533189647513650034663c66c97e5bbfdb6084f2

Comment by Gerrit Updater [ 26/Apr/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25640/
Subject: LU-9153 llog: update llog print format to use FIDs
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5a8e47d0a1a7548a7f6bbf977a4fdb3935adaed6

Comment by Gerrit Updater [ 19/Jul/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26211/
Subject: LU-9153 llog: consolidate common error checking
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b522f7b4b1de029ff9f03c41420caf44d70dc982

Comment by Peter Jones [ 19/Jul/17 ]

Landed for 2.11

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