Whamcloud - gitweb
LU-16766 obdclass: trim kernel thread names in jobids 19/51919/2
authorThomas Bertschinger <bertschinger@lanl.gov>
Thu, 13 Jul 2023 22:32:52 +0000 (18:32 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:38:01 +0000 (06:38 +0000)
commit8a9c503c002d08d0587894a748761e30c1b9a445
tree767381cd7a1b11beda417f1f76c8afc758133cfb
parent39df815cd6bf0a9dcd0a5e034b749726b194c953
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.

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