Whamcloud - gitweb
LU-12842 utils: llog_print with snapshot name 33/36933/2
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 9 Oct 2019 17:26:24 +0000 (11:26 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Dec 2019 23:06:14 +0000 (23:06 +0000)
commit93f16cbb7210c390546ccd25244803770b52029f
treec294cfd0f93fb7bd7b2806b92be8eda03da84e3a
parent215db8912b53524a3ce7c754a40674bbda36fdc9
LU-12842 utils: llog_print with snapshot name

The lsnapshot utility creates filesystems named with generated
hexadecimal strings.  In some cases the filesystem name may start
with a number instead of a character, which causes "lctl llog_print"
(via llog_ioctl()) to consider the filesystem name invalid.

Allow filesystem names in llog_ioctl() to start with a digit.

Lustre-change: https://review.whamcloud.com/36414
Lustre-commit: 6e73b5705c6f1cda391b3a9cec8825eb9f914d38

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ib2054d5afbeaa3f661148fff834c29f83f5d98ad
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36933
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/obdclass/llog_ioctl.c