Whamcloud - gitweb
LU-11407 tgt: cleanup job_stats output printing 64/37764/19
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 10 Jan 2020 21:18:53 +0000 (14:18 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 5 Oct 2021 23:20:32 +0000 (23:20 +0000)
commit953c674fa9b9ae6f20e2cbdd8ed17cadd17922c9
tree2f8291796a46d54a5283b4d7e350e305f6da276e
parent3db8e31797535570e5f2e99f6c8471b49d395efe
LU-11407 tgt: cleanup job_stats output printing

Escape non-printable and other special characters in the JobID
name, which may be passed from the client environment, to avoid
breaking YAML format parsing.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: If6a0bc4276fae03305f94e8c85d8f109913ebbe5
lustre/obdclass/lprocfs_jobstats.c
lustre/tests/sanity.sh