diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2010-12-22 12:39:40 -0800 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-12-22 18:38:09 -0800 |
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 { ktime_t sc_tv_func_start; ktime_t sc_tv_func_stop; #endif +#ifdef CONFIG_OCFS2_FS_STATS + ktime_t sc_tv_acquiry_total; + ktime_t sc_tv_send_total; + ktime_t sc_tv_status_total; + u32 sc_send_count; +#endif struct mutex sc_send_lock; }; |