Skip to content

Commit 55c70ca

Browse files
gerd-rauschdavem330
authored andcommitted
net/rds: Add a few missing rds_stat_names entries
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: 192a798 ("RDS: add stat for socket recv memory usage") Signed-off-by: Gerd Rausch <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 356feaa commit 55c70ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/rds/stats.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ static const char *const rds_stat_names[] = {
7676
"cong_update_received",
7777
"cong_send_error",
7878
"cong_send_blocked",
79+
"recv_bytes_added_to_sock",
80+
"recv_bytes_freed_fromsock",
7981
};
8082

8183
void rds_stats_info_copy(struct rds_info_iterator *iter,

0 commit comments

Comments
 (0)