Whamcloud - gitweb
LU-16766 obdclass: trim kernel thread names in jobids
authorThomas Bertschinger <bertschinger@lanl.gov>
Thu, 13 Jul 2023 22:32:52 +0000 (18:32 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 29 Jan 2024 08:51:20 +0000 (08:51 +0000)
commit68aede7861c5e04497b6b299565fa5b4103240a9
treef1b0d75ced0dcd88d5b9a3c6dda3b10eec02f930
parentc761fa4cce09c01c4446902de43230dab186101f
LU-16766 obdclass: trim kernel thread names in jobids

When collecting jobstats on operations coming from kernel threads, it
is more useful and reduces the noisiness of the data if the names of
kernel threads are trimmed so that all "kworker/CPU:ID" threads are
collected under "kworker", all "ll_sa_PID" threads under ll_sa, etc.

Lustre-change: https://review.whamcloud.com/51919
Lustre-commit: 8a9c503c002d08d0587894a748761e30c1b9a445

Signed-off-by: Thomas Bertschinger <bertschinger@lanl.gov>
Change-Id: Icd82a99c1153de0277ea5ed3f4b1d92535809921
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53801
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/obdclass/jobid.c