summaryrefslogtreecommitdiff
path: root/fs/ocfs2/cluster/tcp_internal.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2010-12-22 12:39:41 -0800
committerJoel Becker <joel.becker@oracle.com>2010-12-22 18:38:10 -0800
commite453039f8bf44abf82f3ecfb34177e0cb04bce12 (patch)
tree2e929b520261d57f6ee8bdafe1aeeb0a18e1a7d8 /fs/ocfs2/cluster/tcp_internal.h
parent3c193b3807e933cf2a16d55a38debbe549195847 (diff)
ocfs2/cluster: Track process message timing stats for each socket
Tracks total time taken to process messages received 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/cluster/tcp_internal.h b/fs/ocfs2/cluster/tcp_internal.h
index 640c6fcef720..4cbcb65784a3 100644
--- a/fs/ocfs2/cluster/tcp_internal.h
+++ b/fs/ocfs2/cluster/tcp_internal.h
@@ -184,6 +184,8 @@ struct o2net_sock_container {
ktime_t sc_tv_send_total;
ktime_t sc_tv_status_total;
u32 sc_send_count;
+ u32 sc_recv_count;
+ ktime_t sc_tv_process_total;
#endif
struct mutex sc_send_lock;
};