From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] o2net: log socket state changes
Date: Wed, 31 Mar 2010 14:50:27 -0700 [thread overview]
Message-ID: <4BB3C3A3.1040206@oracle.com> (raw)
In-Reply-To: <1270071149-15240-1-git-send-email-srinivas.eeda@oracle.com>
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Srinivas Eeda wrote:
> This patch logs socket state changes that lead to socket shutdown.
>
> Signed-off-by: Srinivas Eeda <srinivas.eeda@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..428af6d 100644
> --- 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;
> }
>
next prev parent reply other threads:[~2010-03-31 21:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-31 21:32 [Ocfs2-devel] o2net: log socket state changes Srinivas Eeda
2010-03-31 21:50 ` Sunil Mushran [this message]
2010-04-07 1:19 ` Joel Becker
-- strict thread matches above, loose matches on Subject: below --
2010-03-31 21:07 [Ocfs2-devel] o2net patch to lock socket shutdown message Srinivas Eeda
2010-03-31 21:07 ` [Ocfs2-devel] o2net: log socket state changes Srinivas Eeda
2010-03-31 21:25 ` Sunil Mushran
2010-03-31 1:27 Srinivas Eeda
2010-03-31 18:51 ` Sunil Mushran
2010-03-31 19:03 ` Sunil Mushran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BB3C3A3.1040206@oracle.com \
--to=sunil.mushran@oracle.com \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.