[SSI] openssi/kernel/include/cluster/ssi/util rmtfb.h,1.13,1.14

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

Modified Files:
      Tag: OPENSSI-FC
	rmtfb.h 
Log Message:
add fields rfb_state and rfb_wait to rmtfb_cli structure to support __rmtfb_getcli_id() to make threads wait for rmtfb_setcli_re/open() completion.


Index: rmtfb.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/util/rmtfb.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- rmtfb.h	17 Jan 2011 06:22:05 -0000	1.13
+++ rmtfb.h	17 Jan 2011 07:07:25 -0000	1.14
@@ -69,6 +69,10 @@
 	u32			rfb_magic;	/* hocus pocus */
 #endif
 	clusternode_t		rfb_server;	/* fb server node */
+#ifdef RMTFB_HASH_LOCKLESS
+	atomic_t		rfb_state; /* 0:notyet, 1:success, 2:fail */
+	wait_queue_head_t	rfb_wait; /* threads waiting on rfb_state */
+#endif
 };
 
 struct rmtfb_svrhandle {


------------------------------------------------------------------------------
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