Whamcloud - gitweb
LU-18963 lnet: remove erroneous lnet_inet_enumerate() CWARN 42/59042/3
authorTimothy Day <timday@amazon.com>
Wed, 30 Apr 2025 14:59:49 +0000 (14:59 +0000)
committerOleg Drokin <green@whamcloud.com>
Wed, 21 May 2025 05:17:58 +0000 (05:17 +0000)
commit4afe46bcde7c96f095c6e1460b296fe159b09868
treece227e4552e1b05743a5023d5049d65243934d20
parent00f35f207a464bdef27d9424211edd1515f20d6b
LU-18963 lnet: remove erroneous lnet_inet_enumerate() CWARN

Upon finding a DOWN interface, LNet will emit a message like
"lnet: Ignoring interface eth0: it's down". However, this is
not true - LNet doesn't ignore eth0; it chooses to spam the
kernel log.

On an instance with a large number of network interfaces,
many of them may be down. And many of them could be designated
for Lustre. As a result, this error could be printed hundreds
of times. But the error doesn't provide actionable advice to
the user; they aren't attempting to set up those interfaces and
hence don't care about them.

Downgrade this warning to a CDEBUG. lnet_inet_select() will emit
an appropriate warning, if needed.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I17942c2eeb37ffa5c6b7d9c107e9eae108105115
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59042
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/config.c
lnet/lnet/lib-socket.c