Whamcloud - gitweb
LU-16639 misc: cleanup concole messages 27/56727/4
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 13 Nov 2024 02:16:20 +0000 (18:16 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 18 Nov 2024 17:43:45 +0000 (17:43 +0000)
commit3b63e032cfd3b98adae97be4d262845eaa7d2bb9
tree9da20a0cdfe7ea82e9ed68e4d6b8ff7580ca4577
parent487e1c79e4c6570d91740f23106cc3ddfaa20236
LU-16639 misc: cleanup concole messages

The lprocfs_job_cleanup() was not properly dropping all jobstats
from the hash table and printing errors from job_stat_exit() at
unmount.  Ensure all stats are "old enough" when @clear is set.

Change early libcfs cfs_cpu_init() messages from CERROR() to
pr_err() to avoid circular dependencies on libcfs setup before
printing an error message to the console during module init.

Lustre-commit: 8f40a3d7110da1af8e310a4b7f40b86f13080938
Lustre-change: https://review.whamcloud.com/50283

Test-Parameters: trivial
Fixes: ea2cd3af7b ("LU-11407 obdclass: add start time to stats files")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ide3f502103392a79419cc1836200bf5a1a3ebbe5
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Feng Lei <flei@whamcloud.com>
Signed-off-by: Eric Carbonneau <carbonneau1@llnl.gov>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56727
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-cpt.c
lustre/obdclass/lprocfs_jobstats.c