diff options
author | Gerd Rausch <gerd.rausch@oracle.com> | 2019-07-11 12:15:50 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:46:42 +0100 |
commit | 060fc2173afad7e1f13c9b47b3a2d43e2d2afe6c (patch) | |
tree | 159c0c8765e1b891c4988996abf9f8fdff2fff32 /net/rds | |
parent | b569bda1c5c0b3edfaabf155ec5a239676f86b79 (diff) | |
download | linux-stable-060fc2173afad7e1f13c9b47b3a2d43e2d2afe6c.tar.gz linux-stable-060fc2173afad7e1f13c9b47b3a2d43e2d2afe6c.tar.bz2 linux-stable-060fc2173afad7e1f13c9b47b3a2d43e2d2afe6c.zip |
net/rds: Add a few missing rds_stat_names entries
[ Upstream commit 55c70ca00c982fbc0df4c4d3e31747fb73f4ddb5 ]
In a previous commit, fields were added to "struct rds_statistics"
but array "rds_stat_names" was not updated accordingly.
Please note the inconsistent naming of the string representations
that is done in the name of compatibility
with the Oracle internal code-base.
s_recv_bytes_added_to_socket -> "recv_bytes_added_to_sock"
s_recv_bytes_removed_from_socket -> "recv_bytes_freed_fromsock"
Fixes: 192a798f5299 ("RDS: add stat for socket recv memory usage")
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/stats.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rds/stats.c b/net/rds/stats.c index 73be187d389e..6bbab4d74c4f 100644 --- a/net/rds/stats.c +++ b/net/rds/stats.c @@ -76,6 +76,8 @@ static const char *const rds_stat_names[] = { "cong_update_received", "cong_send_error", "cong_send_blocked", + "recv_bytes_added_to_sock", + "recv_bytes_freed_fromsock", }; void rds_stats_info_copy(struct rds_info_iterator *iter, |