stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + revert-ocfs2-bump-up-o2cb-network-protocol-version.patch added to -mm tree
@ 2016-09-14 22:45 akpm
  2016-09-18 15:32 ` Junxiao Bi
  0 siblings, 1 reply; 4+ messages in thread
From: akpm @ 2016-09-14 22:45 UTC (permalink / raw)
  To: junxiao.bi, jlbec, joseph.qi, mfasheh, stable, mm-commits


The patch titled
     Subject: Revert "ocfs2: bump up o2cb network protocol version"
has been added to the -mm tree.  Its filename is
     revert-ocfs2-bump-up-o2cb-network-protocol-version.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/revert-ocfs2-bump-up-o2cb-network-protocol-version.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/revert-ocfs2-bump-up-o2cb-network-protocol-version.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Junxiao Bi <junxiao.bi@oracle.com>
Subject: Revert "ocfs2: bump up o2cb network protocol version"

This reverts commit 38b52efd218bf ("ocfs2: bump up o2cb network
protocol version").

This commit made rolling upgrade fail.  When one node is upgraded to new
version with this commit, the remaining nodes will fail to establish
connections to it, then the application like VMs on the remaining nodes
can't be live migrated to the upgraded one.  This will cause an outage. 
Since negotiate hb timeout behavior didn't change without this commit, so
revert it.

Fixes: 38b52efd218bf ("ocfs2: bump up o2cb network protocol version")
Link: http://lkml.kernel.org/r/1471396924-10375-1-git-send-email-junxiao.bi@oracle.com
Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Joseph Qi <joseph.qi@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/ocfs2/cluster/tcp_internal.h |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff -puN fs/ocfs2/cluster/tcp_internal.h~revert-ocfs2-bump-up-o2cb-network-protocol-version fs/ocfs2/cluster/tcp_internal.h
--- a/fs/ocfs2/cluster/tcp_internal.h~revert-ocfs2-bump-up-o2cb-network-protocol-version
+++ a/fs/ocfs2/cluster/tcp_internal.h
@@ -44,9 +44,6 @@
  * 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.
  *
@@ -78,7 +75,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 12ULL
+#define O2NET_PROTOCOL_VERSION 11ULL
 struct o2net_handshake {
 	__be64	protocol_version;
 	__be64	connector_id;
_

Patches currently in -mm which might be from junxiao.bi@oracle.com are

ocfs2-fix-trans-extend-while-flush-truncate-log.patch
ocfs2-fix-trans-extend-while-free-cached-blocks.patch
revert-ocfs2-bump-up-o2cb-network-protocol-version.patch


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-20  0:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 22:45 + revert-ocfs2-bump-up-o2cb-network-protocol-version.patch added to -mm tree akpm
2016-09-18 15:32 ` Junxiao Bi
2016-09-19 18:57   ` Andrew Morton
2016-09-20  0:46     ` Junxiao Bi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).