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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 6af1211d4ee9..e2a5cc0d4a14 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1825,6 +1825,9 @@ struct btrfs_fs_info {
1825 spinlock_t reada_lock; 1825 spinlock_t reada_lock;
1826 struct radix_tree_root reada_tree; 1826 struct radix_tree_root reada_tree;
1827 1827
1828 /* readahead works cnt */
1829 atomic_t reada_works_cnt;
1830
1828 /* Extent buffer radix tree */ 1831 /* Extent buffer radix tree */
1829 spinlock_t buffer_lock; 1832 spinlock_t buffer_lock;
1830 struct radix_tree_root buffer_radix; 1833 struct radix_tree_root buffer_radix;
@@ -4563,8 +4566,8 @@ struct reada_control *btrfs_reada_add(struct btrfs_root *root,
4563 struct btrfs_key *start, struct btrfs_key *end); 4566 struct btrfs_key *start, struct btrfs_key *end);
4564int btrfs_reada_wait(void *handle); 4567int btrfs_reada_wait(void *handle);
4565void btrfs_reada_detach(void *handle); 4568void btrfs_reada_detach(void *handle);
4566int btree_readahead_hook(struct btrfs_root *root, struct extent_buffer *eb, 4569int btree_readahead_hook(struct btrfs_fs_info *fs_info,
4567 u64 start, int err); 4570 struct extent_buffer *eb, u64 start, int err);
4568 4571
4569static inline int is_fstree(u64 rootid) 4572static inline int is_fstree(u64 rootid)
4570{ 4573{