ocfs2/net: Add debug interface to o2net
authorSunil Mushran <sunil.mushran@oracle.com>
Mon, 14 Apr 2008 17:46:19 +0000 (10:46 -0700)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:20 +0000 (08:56 -0700)
commit2309e9e040fe29469fb85a384636c455b62fe525
treee3ecf7af432e1504a0c785525bc4247305916173
parent93b06edb5127315473d87e075b2b1d1acf74659c
ocfs2/net: Add debug interface to o2net

This patch exposes o2net information via debugfs. The information includes
the list of sockets (sock_containers) as well as the list of outstanding
messages (send_tracking). Useful for o2dlm debugging.

(This patch is derived from an earlier one written by Zach Brown that
exposed the same information via /proc.)

[Mark: checkpatch fixes]

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Reviewed-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/cluster/Makefile
fs/ocfs2/cluster/netdebug.c [new file with mode: 0644]
fs/ocfs2/cluster/nodemanager.c
fs/ocfs2/cluster/tcp.c
fs/ocfs2/cluster/tcp.h
fs/ocfs2/cluster/tcp_internal.h