diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2012-01-16 15:04:49 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2012-01-16 15:04:49 -0500 |
commit | 19a39dce3b9bf0244d19a446718ad6f7605ff099 (patch) | |
tree | 4834e177b8b64405aa858bfdcfbabd890277102b /fs/btrfs/volumes.h | |
parent | de322263d3a6d4ffd4ed7c4d0c6536e9497aec9b (diff) |
Btrfs: add balance progress reporting
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index caa9abd218ef..6faec9dd1f93 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -218,6 +218,7 @@ struct map_lookup { | |||
218 | #define BTRFS_BALANCE_ARGS_SOFT (1ULL << 9) | 218 | #define BTRFS_BALANCE_ARGS_SOFT (1ULL << 9) |
219 | 219 | ||
220 | struct btrfs_balance_args; | 220 | struct btrfs_balance_args; |
221 | struct btrfs_balance_progress; | ||
221 | struct btrfs_balance_control { | 222 | struct btrfs_balance_control { |
222 | struct btrfs_fs_info *fs_info; | 223 | struct btrfs_fs_info *fs_info; |
223 | 224 | ||
@@ -226,6 +227,8 @@ struct btrfs_balance_control { | |||
226 | struct btrfs_balance_args sys; | 227 | struct btrfs_balance_args sys; |
227 | 228 | ||
228 | u64 flags; | 229 | u64 flags; |
230 | |||
231 | struct btrfs_balance_progress stat; | ||
229 | }; | 232 | }; |
230 | 233 | ||
231 | int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start, | 234 | int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start, |