patch-2.4.21 linux-2.4.21/include/linux/reiserfs_fs_i.h

Next file: linux-2.4.21/include/linux/reiserfs_fs_sb.h
Previous file: linux-2.4.21/include/linux/reiserfs_fs.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/linux/reiserfs_fs_i.h linux-2.4.21/include/linux/reiserfs_fs_i.h
@@ -53,6 +53,13 @@
     ** flushed */
     unsigned long i_trans_id ;
     unsigned long i_trans_index ;
+
+    /* direct io needs to make sure the tail is on disk to avoid
+     * buffer alias problems.  This records the transaction last
+     * involved in a direct->indirect conversion for this file
+     */
+    unsigned long i_tail_trans_id;
+    unsigned long i_tail_trans_index;
 };
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)