]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rds: Reintroduce statistics counting
authorHåkon Bugge <Haakon.Bugge@oracle.com>
Tue, 8 Aug 2017 09:13:32 +0000 (11:13 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 13 Sep 2017 03:19:33 +0000 (20:19 -0700)
commitc0525fb576263edd7b9bca25fe7aecb0b4bc864f
treeb2c37ae3fb2853429a5fc5b75e31d58c36c16d0c
parent93034863d0c6864327d9ef790480a71608e6a516
rds: Reintroduce statistics counting

In commit 7e3f2952eeb1 ("rds: don't let RDS shutdown a connection
while senders are present"), refilling the receive queue was removed
from rds_ib_recv(), along with the increment of
s_ib_rx_refill_from_thread.

Commit 73ce4317bf98 ("RDS: make sure we post recv buffers")
re-introduces filling the receive queue from rds_ib_recv(), but does
not add the statistics counter. rds_ib_recv() was later renamed to
rds_ib_recv_path().

This commit reintroduces the statistics counting of
s_ib_rx_refill_from_thread and s_ib_rx_refill_from_cq.

Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Reviewed-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry-picked from upstream 05bfd7dbb53a10be4a3e7aebaeec04b558198d49)

Conflicts:
net/rds/ib_recv.c

Orabug: 26717115

Reviewed-by: Avinash Repaka <avinash.repaka@oracle.com>
net/rds/ib_recv.c