diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-13 12:51:49 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-14 15:09:36 -0400 |
commit | d60dbb20a74c2cfa142be0a34dac3c6547ea086c (patch) | |
tree | 7af95739f8fbbef11f490b5b58bf639dbbe8a181 /include/linux/sunrpc/sched.h | |
parent | 9c7e7e23371e629dbb3b341610a418cdf1c19d91 (diff) |
SUNRPC: Move the task->tk_bytes_sent and tk_rtt to struct rpc_rqst
It seems strange to maintain stats for bytes_sent in one structure, and
bytes received in another. Try to assemble all the RPC request-related
stats in struct rpc_rqst
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/sched.h')
-rw-r--r-- | include/linux/sunrpc/sched.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index 76720d262ef2..46ebef1788c6 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h | |||
@@ -80,9 +80,7 @@ struct rpc_task { | |||
80 | } u; | 80 | } u; |
81 | 81 | ||
82 | unsigned short tk_timeouts; /* maj timeouts */ | 82 | unsigned short tk_timeouts; /* maj timeouts */ |
83 | size_t tk_bytes_sent; /* total bytes sent */ | 83 | ktime_t tk_start; /* RPC task init timestamp */ |
84 | ktime_t tk_start, /* RPC task init timestamp */ | ||
85 | tk_rtt; /* round-trip time */ | ||
86 | 84 | ||
87 | pid_t tk_owner; /* Process id for batching tasks */ | 85 | pid_t tk_owner; /* Process id for batching tasks */ |
88 | unsigned char tk_priority : 2;/* Task priority */ | 86 | unsigned char tk_priority : 2;/* Task priority */ |