diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2010-12-22 15:39:40 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-12-22 21:38:09 -0500 |
commit | 3c193b3807e933cf2a16d55a38debbe549195847 (patch) | |
tree | c44d0656307f0ce00abb2b8102fb6e4bb8ec7d08 /fs/ocfs2/cluster/tcp_internal.h | |
parent | ff1becbf85bf4d4d4652915b7ab27db949585f6b (diff) |
ocfs2/cluster: Track send message timing stats for each socket
Tracks total send and status times for all messages sent on a socket.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/tcp_internal.h')
-rw-r--r-- | fs/ocfs2/cluster/tcp_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ocfs2/cluster/tcp_internal.h b/fs/ocfs2/cluster/tcp_internal.h index f81576333911..640c6fcef720 100644 --- a/fs/ocfs2/cluster/tcp_internal.h +++ b/fs/ocfs2/cluster/tcp_internal.h | |||
@@ -179,6 +179,12 @@ struct o2net_sock_container { | |||
179 | ktime_t sc_tv_func_start; | 179 | ktime_t sc_tv_func_start; |
180 | ktime_t sc_tv_func_stop; | 180 | ktime_t sc_tv_func_stop; |
181 | #endif | 181 | #endif |
182 | #ifdef CONFIG_OCFS2_FS_STATS | ||
183 | ktime_t sc_tv_acquiry_total; | ||
184 | ktime_t sc_tv_send_total; | ||
185 | ktime_t sc_tv_status_total; | ||
186 | u32 sc_send_count; | ||
187 | #endif | ||
182 | struct mutex sc_send_lock; | 188 | struct mutex sc_send_lock; |
183 | }; | 189 | }; |
184 | 190 | ||