]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rds: Reintroduce statistics counting
authorHåkon Bugge <Haakon.Bugge@oracle.com>
Tue, 8 Aug 2017 09:13:32 +0000 (11:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 04:03:47 +0000 (21:03 -0700)
commit05bfd7dbb53a10be4a3e7aebaeec04b558198d49
treeeaad99a15c66e867b3b5f14ab9ef60700e58a31e
parent8ba60924710cde564a3905588b6219741d6356d0
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>
net/rds/ib_recv.c