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>
Showing
- fs/ocfs2/cluster/Makefile 1 addition, 1 deletionfs/ocfs2/cluster/Makefile
- fs/ocfs2/cluster/netdebug.c 441 additions, 0 deletionsfs/ocfs2/cluster/netdebug.c
- fs/ocfs2/cluster/nodemanager.c 4 additions, 1 deletionfs/ocfs2/cluster/nodemanager.c
- fs/ocfs2/cluster/tcp.c 68 additions, 0 deletionsfs/ocfs2/cluster/tcp.c
- fs/ocfs2/cluster/tcp.h 32 additions, 0 deletionsfs/ocfs2/cluster/tcp.h
- fs/ocfs2/cluster/tcp_internal.h 23 additions, 1 deletionfs/ocfs2/cluster/tcp_internal.h
Loading
Please register or sign in to comment