[SSI] openssi/kernel/include/linux config.h,1.32,1.33
Roger Tsang <[email protected]> Fri, 05 Mar 2010 05:23:59 +0000
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/include/linux
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv25466/include/linux
Modified Files:
Tag: OPENSSI-FC
config.h
Log Message:
* CFS (#ifdef CFS_ASYNC_LOCAL_SYNC):
- Optimize away unnecesary initialization in cfs_read_rpcsetup(),
cfs_write_rpcsetup().
* CFS (#ifdef CFS_CHARD_SYNC_FIX):
- Fix unstable data could have been lost due to server migrated or failover.
Unstable data is flushed again (to the new server) in cfs_reflush_inode().
- Fix downed pages were not properly coalesced. Coalesce downed pages on per
inode basis to reduce contention during failover.
* CFS (#ifdef CFS_PAGEVEC):
- Optimize away unnecesary initialization in cfs_commit_rpcsetup().
cluster/ssi/cfs/inode.c | 5
cluster/ssi/cfs/read.c | 28 ++++
cluster/ssi/cfs/write.c | 170 +++++++++++++++++++++++++----
include/cluster/ssi/cfs/cfs_fs.h | 3
include/cluster/ssi/cfs/cfs_fs_i.h | 10 +
include/cluster/ssi/cfs/cfs_page.h | 4
include/linux/config.h | 10 +
7 files changed, 206 insertions(+), 24 deletions(-)
Index: config.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/linux/config.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- config.h 2 Feb 2010 05:23:55 -0000 1.32
+++ config.h 5 Mar 2010 05:23:57 -0000 1.33
@@ -143,7 +143,7 @@
#define SSI_BALANCE_MEMORY
#define CFSTOK_TABLE_LOCK_LOCK
-#ifdef CFS_PAGEVEC
+#if defined(CFS_PAGEVEC) && defined(KERNEL2616_53)
# define CFS_COMMIT_FILE_RANGE
/* CFS_DIRECTIO */
#endif
@@ -349,6 +349,14 @@
#define CFS_CLIST_LLIST
#define CFS_CHARD_RACE_FIX
+#ifdef CFS_COMMIT_FILE_RANGE
+# define CFS_CHARD_SYNC_FIX
+#endif
+
+#ifdef CFS_CHARD_SYNC_FIX
+# undef CFS_COMMIT_DOWN
+#endif
+
/*
* Fixes for OOO store capable CPUs
*/
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev