diff options
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 37d0157167b0..d3c3939ac751 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -180,6 +180,15 @@ struct btrfs_device_info { | |||
180 | u64 total_avail; | 180 | u64 total_avail; |
181 | }; | 181 | }; |
182 | 182 | ||
183 | struct btrfs_raid_attr { | ||
184 | int sub_stripes; /* sub_stripes info for map */ | ||
185 | int dev_stripes; /* stripes per dev */ | ||
186 | int devs_max; /* max devs to use */ | ||
187 | int devs_min; /* min devs needed */ | ||
188 | int devs_increment; /* ndevs has to be a multiple of this */ | ||
189 | int ncopies; /* how many copies to data has */ | ||
190 | }; | ||
191 | |||
183 | struct map_lookup { | 192 | struct map_lookup { |
184 | u64 type; | 193 | u64 type; |
185 | int io_align; | 194 | int io_align; |