diff options
author | David Howells <dhowells@redhat.com> | 2022-08-18 11:52:36 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-11-08 16:42:15 +0000 |
commit | f7fa52421f76309c574f2575701660bc3ea3a705 (patch) | |
tree | 871000516269ad154b7693453203fe970b58dd05 /net/rxrpc/output.c | |
parent | f2a676d10038e8f3913dc576397b9c9efb190afd (diff) | |
download | lwn-f7fa52421f76309c574f2575701660bc3ea3a705.tar.gz lwn-f7fa52421f76309c574f2575701660bc3ea3a705.zip |
rxrpc: Record stats for why the REQUEST-ACK flag is being set
Record stats for why the REQUEST-ACK flag is being set.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Diffstat (limited to 'net/rxrpc/output.c')
-rw-r--r-- | net/rxrpc/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rxrpc/output.c b/net/rxrpc/output.c index f350d39e3a60..77ed46ab33c5 100644 --- a/net/rxrpc/output.c +++ b/net/rxrpc/output.c @@ -430,6 +430,7 @@ int rxrpc_send_data_packet(struct rxrpc_call *call, struct sk_buff *skb, else goto dont_set_request_ack; + rxrpc_inc_stat(call->rxnet, stat_why_req_ack[why]); trace_rxrpc_req_ack(call->debug_id, sp->hdr.seq, why); if (why != rxrpc_reqack_no_srv_last) whdr.flags |= RXRPC_REQUEST_ACK; |