[Ocfs2-commits] khackel commits r1096 - branches/format-changes/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Jun 14 16:46:45 CDT 2004


Author: khackel
Date: 2004-06-14 15:46:43 -0500 (Mon, 14 Jun 2004)
New Revision: 1096

Modified:
   branches/format-changes/src/alloc.c
Log:
make system files use the global bitmap for now

Modified: branches/format-changes/src/alloc.c
===================================================================
--- branches/format-changes/src/alloc.c	2004-06-14 20:43:53 UTC (rev 1095)
+++ branches/format-changes/src/alloc.c	2004-06-14 20:46:43 UTC (rev 1096)
@@ -3892,6 +3892,10 @@
 	     && (file_size <= OCFS_LOCAL_ALLOC_MAX_ALLOC) )
 		use_global = 0;
 
+	/* TODO: let's find a way to use local alloc for system files someday ;-) */
+	if (sysfile)
+		use_global = 1;
+
 	if (!use_global) {
 		if (handle->flags & OCFS_HANDLE_LOCAL_ALLOC) {
 			printk("whoa, I already have local alloc sem!?!\n");



More information about the Ocfs2-commits mailing list