This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / linux / ext3_fs_i.h
index 7451cdc..422fd51 100644 (file)
 
 #include <linux/rwsem.h>
 
+struct reserve_window {
+       struct list_head        rsv_list;
+       __u32                   rsv_start;
+       __u32                   rsv_end;
+       atomic_t                rsv_goal_size;
+       __u32                   rsv_alloc_hit;
+};
+
 /*
- * second extended file system inode data in memory
+ * third extended file system inode data in memory
  */
 struct ext3_inode_info {
        __u32   i_data[15];
@@ -57,10 +65,9 @@ struct ext3_inode_info {
         * allocation when we detect linearly ascending requests.
         */
        __u32   i_next_alloc_goal;
-#ifdef EXT3_PREALLOCATE
-       __u32   i_prealloc_block;
-       __u32   i_prealloc_count;
-#endif
+       /* block reservation window */
+       struct reserve_window i_rsv_window;
+
        __u32   i_dir_start_lookup;
 #ifdef CONFIG_EXT3_FS_XATTR
        /*