]> Pileus Git - ~andy/linux/blobdiff - fs/btrfs/ordered-data.h
Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
[~andy/linux] / fs / btrfs / ordered-data.h
index e03c560d299732cfe2114fe41d049b691a949e61..dd27a0b46a37d1dfd878828672dfb0dbe99f5ac8 100644 (file)
@@ -96,6 +96,13 @@ struct btrfs_ordered_extent {
        /* number of bytes that still need writing */
        u64 bytes_left;
 
+       /*
+        * the end of the ordered extent which is behind it but
+        * didn't update disk_i_size. Please see the comment of
+        * btrfs_ordered_update_i_size();
+        */
+       u64 outstanding_isize;
+
        /* flags (described above) */
        unsigned long flags;
 
@@ -183,6 +190,7 @@ void btrfs_run_ordered_operations(struct btrfs_root *root, int wait);
 void btrfs_add_ordered_operation(struct btrfs_trans_handle *trans,
                                 struct btrfs_root *root,
                                 struct inode *inode);
-void btrfs_wait_ordered_extents(struct btrfs_root *root,
-                               int nocow_only, int delay_iput);
+void btrfs_wait_ordered_extents(struct btrfs_root *root, int delay_iput);
+int __init ordered_data_init(void);
+void ordered_data_exit(void);
 #endif