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
-  Lines: 14
-  Date:
2003-06-13 07:51:39.000000000 -0700
-  Orig file: 
linux-2.4.20/include/linux/reiserfs_fs_i.h
-  Orig date: 
2002-11-28 15:53:15.000000000 -0800
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)