Skip to contentSkip to conversation

ocfs2: bump up o2cb network protocol version

PATCH Applied Junxiao Bi 3 participants 4 messages May 26, 2016 OCFS2

lore
Share & tools
lore

Junxiao Bi

author
#0 lore raw

PATCH 1/1 ocfs2: bump up o2cb network protocol version

Two new messages are added to support negotiating hb timeout. Stopping nodes talking old version to mount as they will cause the negotiation fail.

---
 fs/ocfs2/cluster/tcp_internal.h |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
fs/ocfs2/cluster/tcp_internal.h +4 -1
index b95e7df5b76a..94b18369b1cc 100644
@@ -44,6 +44,9 @@
  * version here in tcp_internal.h should not need to be bumped for
  * filesystem locking changes.
  *
+ * New in version 12
+ *	- Negotiate hb timeout when storage is down.
+ *
  * New in version 11
  * 	- Negotiation of filesystem locking in the dlm join.
  *
@@ -75,7 +78,7 @@
  * 	- full 64 bit i_size in the metadata lock lvbs
  * 	- introduction of "rw" lock and pushing meta/data locking down
  */
-#define O2NET_PROTOCOL_VERSION 11ULL
+#define O2NET_PROTOCOL_VERSION 12ULL
 struct o2net_handshake {
 	__be64	protocol_version;
 	__be64	connector_id;
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ocfs2: bump up o2cb network protocol version

Quoted 5 lines · Junxiao Bi

Two new messages are added to support negotiating hb timeout. Stopping nodes talking old version to mount as they will cause the negotiation fail.

Btw, you might want to send the whole series again as a whole so Andrew knows where this is coming from and that it should be bundled with the protocol changes themselves.

Thanks,

	--Mark

--
Mark Fasheh

#2 lore raw

PATCH 1/1 ocfs2: bump up o2cb network protocol version

Quoted 5 lines · On Thu, 26 May 2016 16:10:00 -0700 Mark Fasheh <[email protected]> wrote:
Quoted 4 lines · Junxiao Bi

Two new messages are added to support negotiating hb timeout. Stopping nodes talking old version to mount as they will cause the negotiation fail.

Quoted 8 lines
Quoted 1 line

Btw, you might want to send the whole series again as a whole so Andrew knows where this is coming from and that it should be bundled with the protocol changes themselves.

It's these:

ocfs2-o2hb-add-negotiate-timer.patch
ocfs2-o2hb-add-nego_timeout-message.patch
ocfs2-o2hb-add-negotiate_approve-message.patch
ocfs2-o2hb-add-some-user-debug-log.patch
ocfs2-o2hb-dont-negotiate-if-last-hb-fail.patch
ocfs2-o2hb-fix-hb-hung-time.patch

from http://ozlabs.org/~akpm/mmotm/broken-out/, isn't it?

#3 lore raw

PATCH 1/1 ocfs2: bump up o2cb network protocol version

Quoted 8 lines · Andrew Morton
Quoted 4 lines · On Thu, 26 May 2016 16:10:00 -0700 Mark Fasheh <[email protected]> wrote:

Btw, you might want to send the whole series again as a whole so Andrew knows where this is coming from and that it should be bundled with the protocol changes themselves.

It's these:

Quoted 8 lines

ocfs2-o2hb-add-negotiate-timer.patch
ocfs2-o2hb-add-nego_timeout-message.patch
ocfs2-o2hb-add-negotiate_approve-message.patch
ocfs2-o2hb-add-some-user-debug-log.patch
ocfs2-o2hb-dont-negotiate-if-last-hb-fail.patch
ocfs2-o2hb-fix-hb-hung-time.patch

from http://ozlabs.org/~akpm/mmotm/broken-out/, isn't it?

Yes, thanks Andrew :)

	--Mark

--
Mark Fasheh