projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5196ec
)
o2net: log socket state changes
author
Srinivas Eeda
<srinivas.eeda@oracle.com>
Wed, 31 Mar 2010 21:32:29 +0000
(14:32 -0700)
committer
Joel Becker
<joel.becker@oracle.com>
Thu, 6 May 2010 01:18:08 +0000
(18:18 -0700)
This patch logs socket state changes that lead to socket shutdown.
Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/cluster/tcp.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/cluster/tcp.c
b/fs/ocfs2/cluster/tcp.c
index 73e743eea2c83ae3ca6553f261fc9d2da1a5ad03..aa75ca3f78dabd9a73921df967bc5e4efeb41d9a 100644
(file)
--- a/
fs/ocfs2/cluster/tcp.c
+++ b/
fs/ocfs2/cluster/tcp.c
@@
-583,6
+583,9
@@
static void o2net_state_change(struct sock *sk)
o2net_sc_queue_work(sc, &sc->sc_connect_work);
break;
default:
+ printk(KERN_INFO "o2net: connection to " SC_NODEF_FMT
+ " shutdown, state %d\n",
+ SC_NODEF_ARGS(sc), sk->sk_state);
o2net_sc_queue_work(sc, &sc->sc_shutdown_work);
break;
}
This page took
0.026432 seconds
and
5
git commands to generate.