aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 7fb59d45fe8c..7b38d0668b51 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -145,6 +145,17 @@ struct btrfs_device_info {
145 u64 max_avail; 145 u64 max_avail;
146}; 146};
147 147
148struct map_lookup {
149 u64 type;
150 int io_align;
151 int io_width;
152 int stripe_len;
153 int sector_size;
154 int num_stripes;
155 int sub_stripes;
156 struct btrfs_bio_stripe stripes[];
157};
158
148/* Used to sort the devices by max_avail(descending sort) */ 159/* Used to sort the devices by max_avail(descending sort) */
149int btrfs_cmp_device_free_bytes(const void *dev_info1, const void *dev_info2); 160int btrfs_cmp_device_free_bytes(const void *dev_info1, const void *dev_info2);
150 161