[LU-10648] Lustre should not do ldlm_resource_dump to console in case of an eviction Created: 08/Feb/18  Updated: 07/Jun/18  Resolved: 07/Jun/18

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

Type: Improvement Priority: Minor
Reporter: Chris Horn Assignee: Chris Horn
Resolution: Fixed Votes: 0
Labels: patch

Rank (Obsolete): 9223372036854775807

 Description   

During an eviction, Lustre calls ldlm_namespace_cleanup, and it will sometimes end up dumping all of the locks on a particular resource to the console log (ldlm_resource_complain), which is very wasteful and only rarely helpful.

Move the debug level for this to D_DLMTRACE.



 Comments   
Comment by Gerrit Updater [ 08/Feb/18 ]

Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/31237
Subject: LU-10648 ldlm: Reduce debug to console during eviction
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 43fa3c95952b8da9e570ac36627a02260b01991d

Comment by Gerrit Updater [ 07/Jun/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31237/
Subject: LU-10648 ldlm: Reduce debug to console during eviction
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f92fcb863cb9114b2217a4489d7b6b2e5332f364

Comment by Peter Jones [ 07/Jun/18 ]

Landed for 2.12

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