[SSI] openssi/kernel/cluster/ssi/vproc dvp_move.c,1.23,1.24

Roger Tsang <[email protected]> Mon, 17 Jan 2011 06:35:41 +0000
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/vproc
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv27936/cluster/ssi/vproc

Modified Files:
      Tag: OPENSSI-FC
	dvp_move.c 
Log Message:
ssi_quiesce_movement: fix SSI_ASSERT(node != CLUSTERNODE_THIS) assertion failed in cli_migrate() if in ssi_quiesce_movement() code path VPOP_SELECT_NODE() chose this node, the client itself, as the best node. when this node is chosen VPOP_SELECT_NODE() assigns CLUSTERNODE_THIS to the variable referenced by "_node". ssi_quiesce_movement() did not abort process migration when this node is chosen.


Index: dvp_move.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/vproc/dvp_move.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- dvp_move.c	15 Dec 2010 07:39:36 -0000	1.23
+++ dvp_move.c	17 Jan 2011 06:35:39 -0000	1.24
@@ -935,7 +935,7 @@
 			} else {
 				(void)VPOP_SELECT_NODE(p->p_vproc,
 							NSC_COMM(p), &node);
-				if (node == this_node ||
+				if (node == CLUSTERNODE_THIS ||
 				    node == CLUSTERNODE_INVAL) {
 					cleanup_load(node);
 					error = cancel_move_out(h, d, 0);


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl