[SSI] openssi/kernel/include/cluster/ssi/cfs cfs_fs_i.h,1.19,1.20

Roger Tsang <[email protected]>
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/cfs
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv14589/include/cluster/ssi/cfs

Modified Files:
      Tag: OPENSSI-FC
	cfs_fs_i.h 
Log Message:
* CFS:
- Disable sharing mode detection flags. They were never used.

* CFS Token Architecture (#ifdef RCU_MSGSUP_HASH):
- In process_msgs() function 
  - Fix did not handle -EREMOTE from TRANSPORT(); error was discarded
    and token never got to server.
  - Remove "goto" statements.
- cfstok_send() optimize away RPC if server is down; just return
  -EREMOTE.


Index: cfs_fs_i.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/cfs/cfs_fs_i.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- cfs_fs_i.h	2 Nov 2009 03:44:37 -0000	1.19
+++ cfs_fs_i.h	2 Feb 2010 04:31:46 -0000	1.20
@@ -252,9 +252,11 @@
 #define	CZERODEV	0x00080000	/* Node zero device. */
 #endif
 
+#ifdef SSI_CFS_SKIP
 /* Sharing mode detection flags */
 #define CSHR_DOFSHIP	0x00100000	/* sharing state in fship mode */
 #define CSHR_NOTSAFE	0x00200000	/* Data is not safe */
+#endif
 
 #ifdef SSI_CFS_FULLTIMES
 /* file-times marker flags kept in upper bits of c_flags: */


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.