diff options
author | David Sterba <dsterba@suse.cz> | 2015-06-03 16:40:34 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-06-03 16:40:34 +0200 |
commit | 493f979c1556fa12656985557983fec4364197ff (patch) | |
tree | acdc8da8bd6055ddbe98d5fe146482c42b33d0bc | |
parent | ddd8003d9474381e84b3adc0444358d67b35be06 (diff) |
btrfs-progs: ioctl.h: copy commented version of balance structures
Copied from uapi/linux/btrfs.h, no-op change.
Signed-off-by: David Sterba <dsterba@suse.cz>
-rw-r--r-- | ioctl.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -214,15 +214,16 @@ struct btrfs_balance_args { __u64 flags; - __u64 limit; - + __u64 limit; /* limit number of processed chunks */ __u64 unused[7]; } __attribute__ ((__packed__)); +/* report balance progress to userspace */ struct btrfs_balance_progress { - __u64 expected; - __u64 considered; - __u64 completed; + __u64 expected; /* estimated # of chunks that will be + * relocated to fulfill the request */ + __u64 considered; /* # of chunks we have considered so far */ + __u64 completed; /* # of chunks relocated so far */ }; #define BTRFS_BALANCE_STATE_RUNNING (1ULL << 0) |