diff options
author | Ricardo Labiaga <Ricardo.Labiaga@netapp.com> | 2009-04-01 09:23:28 -0400 |
---|---|---|
committer | Benny Halevy <bhalevy@panasas.com> | 2009-06-17 14:11:40 -0700 |
commit | dd2b63d049480979016b959abc2d141cdddb1389 (patch) | |
tree | 3b1f9a59b5c0a7c6027ec102a034a4236b41ebd6 /net/sunrpc/stats.c | |
parent | 281fe15dc1d6ad46992f18b7a6644269ec5f7138 (diff) | |
download | kernel_samsung_tuna-dd2b63d049480979016b959abc2d141cdddb1389.zip kernel_samsung_tuna-dd2b63d049480979016b959abc2d141cdddb1389.tar.gz kernel_samsung_tuna-dd2b63d049480979016b959abc2d141cdddb1389.tar.bz2 |
nfs41: Rename rq_received to rq_reply_bytes_recvd
The 'rq_received' member of 'struct rpc_rqst' is used to track when we
have received a reply to our request. With v4.1, the backchannel
can now accept callback requests over the existing connection. Rename
this field to make it clear that it is only used for tracking reply bytes
and not all bytes received on the connection.
Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'net/sunrpc/stats.c')
-rw-r--r-- | net/sunrpc/stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/stats.c b/net/sunrpc/stats.c index 8487aa0..1b4e679 100644 --- a/net/sunrpc/stats.c +++ b/net/sunrpc/stats.c @@ -156,7 +156,7 @@ void rpc_count_iostats(struct rpc_task *task) op_metrics->om_timeouts += task->tk_timeouts; op_metrics->om_bytes_sent += task->tk_bytes_sent; - op_metrics->om_bytes_recv += req->rq_received; + op_metrics->om_bytes_recv += req->rq_reply_bytes_recvd; queue = (long)req->rq_xtime - task->tk_start; if (queue < 0) |