summaryrefslogtreecommitdiff
path: root/include/linux/jbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/jbd.h')
-rw-r--r--include/linux/jbd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/jbd.h b/include/linux/jbd.h
index eb154bafe1e4..241387b13764 100644
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
@@ -487,6 +487,12 @@ struct transaction_s
struct journal_head *t_reserved_list;
/*
+ * Doubly-linked circular list of all buffers under writeout during
+ * commit [j_list_lock]
+ */
+ struct journal_head *t_locked_list;
+
+ /*
* Doubly-linked circular list of all metadata buffers owned by this
* transaction [j_list_lock]
*/
@@ -1079,7 +1085,8 @@ static inline int jbd_space_needed(journal_t *journal)
#define BJ_Shadow 5 /* Buffer contents being shadowed to the log */
#define BJ_LogCtl 6 /* Buffer contains log descriptors */
#define BJ_Reserved 7 /* Buffer is reserved for access by journal */
-#define BJ_Types 8
+#define BJ_Locked 8 /* Locked for I/O during commit */
+#define BJ_Types 9
extern int jbd_blocks_per_page(struct inode *inode);