On Wed, Mar 31, 2010 at 02:32:29PM -0700, Srinivas Eeda wrote:
This patch logs socket state changes that lead to socket shutdown.
Signed-off-by: Srinivas Eeda srinivas.e...@oracle.com
This patch is now in the 'merge-window' branch of ocfs2.git. It
had two lines with trailing
KERN_INFO is a good idea. But the message is a mouthful.
Currently it reads:
node %s (num %u) at %u.%u.%u.%u:%u socket state changed to X. Shutting
down the socket connection
How about this:
o2net: connection to node %s (num %u) at %u.%u.%u.%u:%u shutdown, state %d
printk(KERN_INFO connection
Can you also provide a snippet of the messages after some mounts
and umounts.
Sunil Mushran wrote:
KERN_INFO is a good idea. But the message is a mouthful.
Currently it reads:
node %s (num %u) at %u.%u.%u.%u:%u socket state changed to X. Shutting
down the socket connection
How about this:
This patch logs socket state changes that lead to socket shutdown.
Signed-off-by: Srinivas Eeda srinivas.e...@oracle.com
---
fs/ocfs2/cluster/tcp.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c
index 334f231..8bda1ea
Please can you prepend o2net: to the message. Easier to grep.
Srinivas Eeda wrote:
This patch logs socket state changes that lead to socket shutdown.
Signed-off-by: Srinivas Eeda srinivas.e...@oracle.com
---
fs/ocfs2/cluster/tcp.c |3 +++
1 files changed, 3 insertions(+), 0
Signed-off-by: Sunil Mushran sunil.mush...@oracle.com
Srinivas Eeda wrote:
This patch logs socket state changes that lead to socket shutdown.
Signed-off-by: Srinivas Eeda srinivas.e...@oracle.com
---
fs/ocfs2/cluster/tcp.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff
This patch logs socket state changes that lead to socket shutdown.
Signed-off-by: Srinivas Eeda srinivas.e...@oracle.com
---
fs/ocfs2/cluster/tcp.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c
index 334f231..6d0d228