All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Becker <Joel.Becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 3/3] o2net: correct keepalive message protocol
Date: Tue, 16 Feb 2010 21:56:41 -0800	[thread overview]
Message-ID: <20100217055641.GI13798@mail.oracle.com> (raw)
In-Reply-To: <1264740671-908-4-git-send-email-srinivas.eeda@oracle.com>

On Thu, Jan 28, 2010 at 08:51:11PM -0800, Srinivas Eeda wrote:
>  		case O2NET_MSG_KEEP_REQ_MAGIC:
> -			o2net_sendpage(sc, o2net_keep_resp,
> -				       sizeof(*o2net_keep_resp));
> +			/* Each node now sends keepalive message every
> +			 * keepalive time interval. Hence no need for response
> +			 */
>  			goto out;

	You still have to send the response.  Think about a mixed
environment where some nodes have this fix and some do not.  The older
software is still waiting on the response.
	The newer version can just ignore any responses it gets from
other nodes.  But it has to send responses out just in case the other
node is older.
	The only other alternative is to bump the o2net protocol
version, and that means the cluster has to be shut down to upgrade.  Not
a good choice.

Joel

-- 

Life's Little Instruction Book #464

	"Don't miss the magic of the moment by focusing on what's
	 to come."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127

  reply	other threads:[~2010-02-17  5:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29  4:51 [Ocfs2-devel] o2net patches Srinivas Eeda
2010-01-29  4:51 ` [Ocfs2-devel] [PATCH 1/3] o2net: rollback reconnect on network timeout Srinivas Eeda
2010-01-29  4:51 ` [Ocfs2-devel] [PATCH 2/3] o2net: delay enotconn for sends receives till quorum decision Srinivas Eeda
2010-01-29  4:51 ` [Ocfs2-devel] [PATCH 3/3] o2net: correct keepalive message protocol Srinivas Eeda
2010-02-17  5:56   ` Joel Becker [this message]
2010-02-17 18:24     ` Srinivas Eeda
2010-02-17 22:40       ` Sunil Mushran
2010-02-17 22:52         ` Srinivas Eeda
2010-02-17 22:47           ` Sunil Mushran
2010-02-17 23:45             ` Srinivas Eeda
2010-02-17 23:50               ` Sunil Mushran
2010-02-18  0:59                 ` srinivas eeda
2010-02-18  1:08                   ` Sunil Mushran
2010-02-18  1:46                     ` srinivas eeda
2010-02-18  1:49       ` Joel Becker
2010-02-18  1:55         ` srinivas eeda

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=20100217055641.GI13798@mail.oracle.com \
    --to=joel.becker@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.