Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=20805 rate limit D_NETERR messages
[fs/lustre-release.git]
/
lnet
/
klnds
/
ralnd
/
ralnd.c
diff --git
a/lnet/klnds/ralnd/ralnd.c
b/lnet/klnds/ralnd/ralnd.c
index
f48d83d
..
d992541
100644
(file)
--- a/
lnet/klnds/ralnd/ralnd.c
+++ b/
lnet/klnds/ralnd/ralnd.c
@@
-382,9
+382,9
@@
kranal_close_conn_locked (kra_conn_t *conn, int error)
{
kra_peer_t *peer = conn->rac_peer;
- CDEBUG(error == 0 ? D_NET : D_NETERROR,
- "closing conn to %s: error %d\n",
- libcfs_nid2str(peer->rap_nid), error);
+ CDEBUG
_LIMIT
(error == 0 ? D_NET : D_NETERROR,
+ "closing conn to %s: error %d\n",
+
libcfs_nid2str(peer->rap_nid), error);
LASSERT (!cfs_in_interrupt());
LASSERT (conn->rac_state == RANAL_CONN_ESTABLISHED);
@@
-850,8
+850,8
@@
kranal_connect (kra_peer_t *peer)
if (cfs_list_empty(&zombies))
return;
- C
DEBUG(D_NETERROR,
"Dropping packets for %s: connection failed\n",
- libcfs_nid2str(peer->rap_nid));
+ C
NETERR(
"Dropping packets for %s: connection failed\n",
+
libcfs_nid2str(peer->rap_nid));
do {
tx = cfs_list_entry(zombies.next, kra_tx_t, tx_list);