diff options
Diffstat (limited to 'fs/btrfs/ordered-data.h')
| -rw-r--r-- | fs/btrfs/ordered-data.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/fs/btrfs/ordered-data.h b/fs/btrfs/ordered-data.h index e03c560d2997..dd27a0b46a37 100644 --- a/fs/btrfs/ordered-data.h +++ b/fs/btrfs/ordered-data.h | |||
| @@ -96,6 +96,13 @@ struct btrfs_ordered_extent { | |||
| 96 | /* number of bytes that still need writing */ | 96 | /* number of bytes that still need writing */ |
| 97 | u64 bytes_left; | 97 | u64 bytes_left; |
| 98 | 98 | ||
| 99 | /* | ||
| 100 | * the end of the ordered extent which is behind it but | ||
| 101 | * didn't update disk_i_size. Please see the comment of | ||
| 102 | * btrfs_ordered_update_i_size(); | ||
| 103 | */ | ||
| 104 | u64 outstanding_isize; | ||
| 105 | |||
| 99 | /* flags (described above) */ | 106 | /* flags (described above) */ |
| 100 | unsigned long flags; | 107 | unsigned long flags; |
| 101 | 108 | ||
| @@ -183,6 +190,7 @@ void btrfs_run_ordered_operations(struct btrfs_root *root, int wait); | |||
| 183 | void btrfs_add_ordered_operation(struct btrfs_trans_handle *trans, | 190 | void btrfs_add_ordered_operation(struct btrfs_trans_handle *trans, |
| 184 | struct btrfs_root *root, | 191 | struct btrfs_root *root, |
| 185 | struct inode *inode); | 192 | struct inode *inode); |
| 186 | void btrfs_wait_ordered_extents(struct btrfs_root *root, | 193 | void btrfs_wait_ordered_extents(struct btrfs_root *root, int delay_iput); |
| 187 | int nocow_only, int delay_iput); | 194 | int __init ordered_data_init(void); |
| 195 | void ordered_data_exit(void); | ||
| 188 | #endif | 196 | #endif |
