[Ocfs2-commits] mfasheh commits r1530 - branches/dlm-changes/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Sep 30 19:55:15 CDT 2004
Author: mfasheh
Date: 2004-09-30 19:55:13 -0500 (Thu, 30 Sep 2004)
New Revision: 1530
Modified:
branches/dlm-changes/src/ocfs_journal.h
Log:
* needed to update some comments
Modified: branches/dlm-changes/src/ocfs_journal.h
===================================================================
--- branches/dlm-changes/src/ocfs_journal.h 2004-10-01 00:54:38 UTC (rev 1529)
+++ branches/dlm-changes/src/ocfs_journal.h 2004-10-01 00:55:13 UTC (rev 1530)
@@ -185,7 +185,10 @@
/* We know how many buffers (max) we'll have for this
* transaction so we can just allocate an array of pointers at
- * the same time as the creation of this handle. */
+ * the same time as the creation of this handle.
+ *
+ * NOTE: 'num_buffs' will always be zero if your transaction
+ * is roll-forward only. */
int num_buffs;
struct buffer_head **buffs;
@@ -216,8 +219,8 @@
#define OCFS_HANDLE_SYNC 2
/* This is really the right way to do things, but until we fix all the
* code, it's a performance improvement for a handle which never
- * aborts. Should be set before passing any buffers to
- * journal_access! */
+ * aborts (always roll-forward). Should be set before passing any
+ * buffers to journal_access! */
#define OCFS_HANDLE_ALWAYS_COMMITS 4
static inline void ocfs_handle_free_all_copyout(ocfs_journal_handle *handle)
More information about the Ocfs2-commits
mailing list