Whamcloud - gitweb
LU-16599 obdclass: job_stats can parse escaped jobid string 60/50160/7
authorLei Feng <flei@whamcloud.com>
Wed, 1 Mar 2023 00:16:03 +0000 (08:16 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Mar 2023 22:16:32 +0000 (22:16 +0000)
commit8f004bc53b1a488dad5a92a580f5f0c078e33654
tree343e4504d85e709e963ba96096946f0fe74e47c1
parentfc7a0d6013b46ebc17cdfdccc04a5d1d92c6af24
LU-16599 obdclass: job_stats can parse escaped jobid string

Writing a jobid to job_stats proc entry asks lustre to clear
the stats of the specific jobid. Since job_stats outputs
escaped jobid string in some cases, it should be able to parse
an escaped jobid string when the string is written to it.

Test-Parameters: trivial
Signed-off-by: Lei Feng <flei@whamcloud.com>
Change-Id: Idbc63dac6c3b35331317927107e634a3d638dd66
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50160
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/lprocfs_jobstats.c
lustre/tests/sanity.sh