diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2010-12-22 20:39:40 (GMT) |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-12-23 02:38:09 (GMT) |
commit | 3c193b3807e933cf2a16d55a38debbe549195847 (patch) | |
tree | c44d0656307f0ce00abb2b8102fb6e4bb8ec7d08 /fs/ocfs2/cluster/tcp_internal.h | |
parent | ff1becbf85bf4d4d4652915b7ab27db949585f6b (diff) | |
download | linux-fsl-qoriq-3c193b3807e933cf2a16d55a38debbe549195847.tar.xz |
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 f815763..640c6fc 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; }; |