Whamcloud - gitweb
LU-16599 obdclass: job_stats can parse escaped jobid string
authorLei Feng <flei@whamcloud.com>
Wed, 1 Mar 2023 00:16:03 +0000 (08:16 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 2 Feb 2024 16:06:17 +0000 (16:06 +0000)
commit231a00d2c9a9f089b021f1f9adbad5f7b108c323
tree9dcdbfd03d38e46032aa65455659cd0eb280c7de
parent5844ace62c8b53fe928048585050b166a37713ba
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.

Lustre-change: https://review.whamcloud.com/50160
Lustre-commit: 8f004bc53b1a488dad5a92a580f5f0c078e33654

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