summaryrefslogtreecommitdiffstats
path: root/net/rds/rds.h
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2011-01-13 20:40:31 +0100
committerDavid S. Miller <davem@davemloft.net>2019-08-15 21:04:24 +0200
commit11740ef4482914fcd8c9814ef7ceb7085715e554 (patch)
tree0507a9a67059c1d06cb410aaad1201f11b85de8b /net/rds/rds.h
parentnet/rds: Add a few missing rds_stat_names entries (diff)
downloadlinux-11740ef4482914fcd8c9814ef7ceb7085715e554.tar.xz
linux-11740ef4482914fcd8c9814ef7ceb7085715e554.zip
rds: check for excessive looping in rds_send_xmit
Original commit from 2011 updated to include a change by Yuval Shaia <yuval.shaia@oracle.com> that adds a new statistic counter "send_stuck_rm" to capture the messages looping exessively in the send path. Signed-off-by: Gerd Rausch <gerd.rausch@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r--net/rds/rds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h
index f0066d168499..ad605fd61655 100644
--- a/net/rds/rds.h
+++ b/net/rds/rds.h
@@ -717,7 +717,7 @@ struct rds_statistics {
uint64_t s_cong_send_blocked;
uint64_t s_recv_bytes_added_to_socket;
uint64_t s_recv_bytes_removed_from_socket;
-
+ uint64_t s_send_stuck_rm;
};
/* af_rds.c */