btrfs: state information for readahead
[deliverable/linux.git] / fs / btrfs / volumes.h
index 6d866db4e1774ab08e73b8f6c5ad6d8aaa08861b..2a751246188ad713501d7da60f7810ea8517e47f 100644 (file)
@@ -92,6 +92,14 @@ struct btrfs_device {
        struct btrfs_work work;
        struct rcu_head rcu;
        struct work_struct rcu_work;
+
+       /* readahead state */
+       spinlock_t reada_lock;
+       atomic_t reada_in_flight;
+       u64 reada_next;
+       struct reada_zone *reada_curr_zone;
+       struct radix_tree_root reada_zones;
+       struct radix_tree_root reada_extents;
 };
 
 struct btrfs_fs_devices {
This page took 0.023268 seconds and 5 git commands to generate.