Whamcloud - gitweb
LU-930 misc: limit CDEBUG console message frequency 71/40571/4
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 7 Nov 2020 07:53:28 +0000 (00:53 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 21 Apr 2021 03:15:01 +0000 (03:15 +0000)
commit7462e8cad730897f459da31886c57585654f26b8
treed48a6b2acf93d98008feae3d7bc4ac06b0abdc9d
parent13cd0f9f667c6e138a8cb235d4920f8b749cb154
LU-930 misc: limit CDEBUG console message frequency

Some CDEBUG() messages have variable message levels, but if printed
to the console it is not rate limited like CWARN() and CERROR():

 server_bulk_callback()) event type 5, status -110
 server_bulk_callback()) event type 5, status -110
 server_bulk_callback()) event type 5, status -110
 :

Instead, use CDEBUG_LIMIT() for those messages to limit them.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I9081398c7d014b2873e764dc283ce2f4623ebbe5
Reviewed-on: https://review.whamcloud.com/40571
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/file.c
lustre/lod/lod_object.c
lustre/lov/lov_obd.c
lustre/mdt/mdt_handler.c
lustre/ptlrpc/client.c
lustre/ptlrpc/events.c
lustre/ptlrpc/import.c