[Ocfs2-commits] mfasheh commits r775 - trunk/src/inc
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Fri Mar 12 20:00:50 CST 2004
Author: mfasheh
Date: 2004-03-12 20:00:48 -0600 (Fri, 12 Mar 2004)
New Revision: 775
Modified:
trunk/src/inc/journal.h
Log:
slight update to the documentation of the journalling code.
Modified: trunk/src/inc/journal.h
===================================================================
--- trunk/src/inc/journal.h 2004-03-12 19:09:07 UTC (rev 774)
+++ trunk/src/inc/journal.h 2004-03-13 02:00:48 UTC (rev 775)
@@ -250,13 +250,6 @@
* will be released in the order that they are added,
* and afterwards the lockres will be passed to
* ocfs_put_lockres.
- *
- * TODO:
- * ocfs_restart_trans - Some transactions will have to be split up between
- * two or more handles. (delete, truncate are good
- * examples.) Use ocfs_restart_trans to commit what
- * you have so far and get a new handle for the rest.
- * ocfs_journal_forget - Remove a buffer from a handle.
*/
/* You must always start_trans with a number of buffs > 0, but it's
* perfectly legal to go through an entire transaction without having
@@ -306,6 +299,11 @@
struct _ocfs_lock_res *res,
struct buffer_head *bh);
+/*
+ * Trans Lock:
+ * Right now OCFS2 only supports a single transaction at a
+ * time. Transactions are locked out by using trans_lock.
+ */
#define ocfs_take_trans_lock(osb) \
do { \
down(&osb->trans_lock); \
More information about the Ocfs2-commits
mailing list