Whamcloud - gitweb
LU-16110 lprocfs: make job_stats and rename_stats valid YAML 17/48417/27
authorLei Feng <flei@whamcloud.com>
Fri, 2 Sep 2022 07:05:22 +0000 (15:05 +0800)
committerOleg Drokin <green@whamcloud.com>
Sun, 11 Dec 2022 14:40:02 +0000 (14:40 +0000)
commite96cb6ff1fea7a2bc62a6c0786fb0e07cbfda81a
tree419fc91391946d13a18a31bb9fd38d4d4cb5d752
parente7aa83d105547608130c53c5abc0bb370a1dc1bc
LU-16110 lprocfs: make job_stats and rename_stats valid YAML

Adjust the format of job_stats and rename_stats to make
them valid YAML.  This fixes the output to correctly indent
the items to follow YAML formatting rules.

Add a test case to verify the format of these params is valid
YAML to avoid other errors being introduced in the future.

Signed-off-by: Lei Feng <flei@whamcloud.com>
Change-Id: Idca36621241e97ff87f8ab0448f3c5604057a460
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48417
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
12 files changed:
lustre.spec.in
lustre/include/lprocfs_status.h
lustre/llite/lproc_llite.c
lustre/mdc/lproc_mdc.c
lustre/mdt/mdt_lproc.c
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_jobstats.c
lustre/obdclass/lprocfs_status.c
lustre/obdclass/lprocfs_status_server.c
lustre/osc/lproc_osc.c
lustre/tests/sanity.sh
lustre/tests/test-framework.sh