[LU-12842] lctl llog_print doesn't accept snapshot names with leading number Created: 09/Oct/19  Updated: 12/Dec/19  Resolved: 23/Oct/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0
Fix Version/s: Lustre 2.13.0, Lustre 2.12.4

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The "lctl llog_print" command (in llog_ioctl()) does not accept a filesystem/log name that begins with a number, in particular those that are created with the lsnapshot utility like "1d26cfb" or similar. This causes an error "OBD_IOC_LLOG_PRINT failed: Invalid argument" unless the log is escaped with a leading '$' like "lctl llog_print \$1d26cfb-client".



 Comments   
Comment by Gerrit Updater [ 09/Oct/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36414
Subject: LU-12842 utils: llog_print with snapshot name
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ec80bbf090f344bad3e310918d09ddd1d5b87824

Comment by Gerrit Updater [ 22/Oct/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36414/
Subject: LU-12842 utils: llog_print with snapshot name
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6e73b5705c6f1cda391b3a9cec8825eb9f914d38

Comment by Peter Jones [ 23/Oct/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 05/Dec/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36933
Subject: LU-12842 utils: llog_print with snapshot name
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: fc3ddfa799806c46106aca64cb4b7c4061943b5b

Comment by Gerrit Updater [ 12/Dec/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36933/
Subject: LU-12842 utils: llog_print with snapshot name
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 93f16cbb7210c390546ccd25244803770b52029f

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