[LU-12257] Modify existing CDEBUG/CERROR messages in LNet to provide more useful information Created: 30/Apr/19  Updated: 28/May/19

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

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

Rank (Obsolete): 9223372036854775807

 Description   

There are a large number of CDEBUG and CERROR messages that could provide more useful information when debugging problems. In particular, any message that references an lnet_msg would be vastly more helpful if it included the address of the lnet_msg pointer.

There are similar opportunities with other important LNet data structures such as the lnet_peer, lnet_peer_ni, etc.

As a first pass we can make some incremental improvements to existing messages by just including pointer addresses, but we may also want to investigate whether it would be useful to include a standardized set of information and create a macro, similar to the DEBUG_REQ or LDLM_DEBUG macros, and convert appropriate CDEBUG messages over to the macro.



 Comments   
Comment by Gerrit Updater [ 16/May/19 ]

Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/34881
Subject: LU-12257 lnet: Add msg pointer address to debug messages
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2faec8db420cb4fb660874467f54f3c4a111c338

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