[Ocfs2-commits] mfasheh commits r1221 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Jun 28 20:55:47 CDT 2004


Author: mfasheh
Date: 2004-06-28 19:55:45 -0500 (Mon, 28 Jun 2004)
New Revision: 1221

Modified:
   trunk/src/ocfs_journal.h
Log:
* a quick fix to truncate credits.



Modified: trunk/src/ocfs_journal.h
===================================================================
--- trunk/src/ocfs_journal.h	2004-06-29 00:52:36 UTC (rev 1220)
+++ trunk/src/ocfs_journal.h	2004-06-29 00:55:45 UTC (rev 1221)
@@ -378,9 +378,10 @@
 }
 
 /* fe, anything along new 'edge' of tree + fuzz*/
-#define OCFS_FILE_TRUNCATE_CREDITS (1 + 4 + OCFS_JOURNAL_FUZZ_CREDITS)
+#define OCFS_FILE_TRUNCATE_CREDITS (1 + 14 + OCFS_JOURNAL_FUZZ_CREDITS)
 
 /* the file entry + the locknode + possibily the parent dirnode + fuzz */
+/* ok, these credits are messed up and need to be re calculated. */
 #define OCFS_FILE_DELETE_CREDITS  (1 + 1 + 1 + OCFS_JOURNAL_FUZZ_CREDITS)
 
 /* fe change, locknode change, dirnode head, times two plus a possible



More information about the Ocfs2-commits mailing list