aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 3cebb4aeddc7..ca6bcc33d033 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1360,6 +1360,7 @@ struct btrfs_fs_info {
1360 1360
1361 u64 generation; 1361 u64 generation;
1362 u64 last_trans_committed; 1362 u64 last_trans_committed;
1363 u64 avg_delayed_ref_runtime;
1363 1364
1364 /* 1365 /*
1365 * this is updated to the current trans every time a full commit 1366 * this is updated to the current trans every time a full commit
@@ -3172,6 +3173,8 @@ static inline u64 btrfs_calc_trunc_metadata_size(struct btrfs_root *root,
3172 3173
3173int btrfs_should_throttle_delayed_refs(struct btrfs_trans_handle *trans, 3174int btrfs_should_throttle_delayed_refs(struct btrfs_trans_handle *trans,
3174 struct btrfs_root *root); 3175 struct btrfs_root *root);
3176int btrfs_check_space_for_delayed_refs(struct btrfs_trans_handle *trans,
3177 struct btrfs_root *root);
3175void btrfs_put_block_group(struct btrfs_block_group_cache *cache); 3178void btrfs_put_block_group(struct btrfs_block_group_cache *cache);
3176int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, 3179int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans,
3177 struct btrfs_root *root, unsigned long count); 3180 struct btrfs_root *root, unsigned long count);