Whamcloud - gitweb
LU-17432 libcfs: new CDEBUG_SLOW message type 39/55439/19
authorFrederick Dilger <fdilger@whamcloud.com>
Fri, 14 Jun 2024 00:39:28 +0000 (20:39 -0400)
committerOleg Drokin <green@whamcloud.com>
Sun, 24 Nov 2024 06:04:06 +0000 (06:04 +0000)
commit18bf112e96ceb3f45505be86f3357369c9122992
tree568f1b92cdae0f39cda20d112aff29a3ff668ea4
parentf6590af04b98ef48cd10e950ef50a5c202bf394d
LU-17432 libcfs: new CDEBUG_SLOW message type

Created new CDEBUG_SLOW message type that will skip the first
SECONDS of messages, then continue printing to console as normal.

Specifically CWARN_SLOW and CERROR_SLOW have been created which
mirror the functionality of their respective CWARN and CERROR
functions but with the additional SLOW behavior.

Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: I905fdff795488ff937faf4d04d5d3d6fec24950a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55439
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
contrib/scripts/checkpatch.pl
contrib/scripts/lustre-checkpatch.patch
libcfs/include/libcfs/libcfs_debug.h
libcfs/libcfs/tracefile.c
lustre/ldlm/ldlm_lib.c
lustre/ptlrpc/client.c