[SSI] openssi/kernel/cluster/ssi/token mhclitok.c,1.4,1.5

Roger Tsang <[email protected]> Mon, 25 Oct 2010 06:03:54 +0000
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/token
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv14113/cluster/ssi/token

Modified Files:
      Tag: OPENSSI-FC
	mhclitok.c 
Log Message:
CFS Token Architecture:
- Generate KERN_WARNING message if REVFUNC() fails in mhtok_giveback().
- Optimize away CFSTOK_XLOCKOWNED() test in cfstok_objrevoke(). CFSTOK_XLOCK is not held in cfstok_giveback() path.

 cluster/ssi/cfs/cfstok.c     |    5 +++++
 cluster/ssi/token/mhclitok.c |    2 ++
 2 files changed, 7 insertions(+)


Index: mhclitok.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/token/mhclitok.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- mhclitok.c	20 Oct 2004 03:23:30 -0000	1.4
+++ mhclitok.c	25 Oct 2010 06:03:52 -0000	1.5
@@ -227,6 +227,8 @@
 			 * since this only occurs at nodedown, the
 			 * GIVEBACK above should be dropped by transport.
 			 */
+			printk(KERN_WARNING "%s: GIVEBACK undo!\n",
+				__FUNCTION__);
 			tcbp->mhtok_count = count;
 			return FALSE;
 		}


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev