[LU-11383] A lot of cfs_fail_loc error message for Fake I/O Created: 17/Sep/18  Updated: 19/Dec/18  Resolved: 25/Oct/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Li Xi Assignee: Li Xi
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates LU-11373 CERROR/CWARN messages are not throttled Resolved
is duplicated by LU-11384 wrong check in libcfs_debug_vmsg2() Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Usually, enabling fake I/O means there will be benchmark running on the system. However, a lot of messages are printed to the console:

 

Sep 17 05:50:49 es200nv2-vm1 kernel: systemd-journald[690]: /dev/kmsg buffer overrun, some messages lost.
Sep 17 05:50:49 es200nv2-vm1 kernel: Lustre: *** cfs_fail_loc=238, val=0***
Sep 17 05:50:49 es200nv2-vm1 kernel: Lustre: *** cfs_fail_loc=238, val=0***
Sep 17 05:50:49 es200nv2-vm1 kernel: Lustre: *** cfs_fail_loc=238, val=0***
Sep 17 05:50:49 es200nv2-vm1 kernel: Lustre: *** cfs_fail_loc=238, val=0***
Sep 17 05:50:49 es200nv2-vm1 kernel: Lustre: *** cfs_fail_loc=238, val=0***
Sep 17 05:50:49 es200nv2-vm1 kernel: Lustre: *** cfs_fail_loc=238, val=0***

 

This is annoying, because a lot of CPU resource will be used by message printing.



 Comments   
Comment by Gerrit Updater [ 17/Sep/18 ]

Li Xi (lixi@ddn.com) uploaded a new patch: https://review.whamcloud.com/33174
Subject: LU-11383 ofd: keep fake IO quiet
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 96453ee4682047196ecce4aef4db379bb9ad73f2

Comment by Andreas Dilger [ 17/Sep/18 ]

There is something broken with the CDEBUG rate limiting in libcfs in master. It shouldn't print so many messages.

Comment by Li Xi [ 17/Sep/18 ]

Yeah, that makes sense. I didn't notice so many messages until recently.

Generated at Sat Feb 10 02:43:23 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.