commit | e4d8ec0f65b91bfb4984a4927632ded95f9825ad | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Mon Jan 16 22:04:48 2012 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jan 16 22:04:48 2012 +0200 |
tree | 4727c977803093ec5cdf93da4fcab34cc8de8ecf | |
parent | 70922617b0099f420deceb53d5dc7f4fb30d08d0 [diff] |
Btrfs: implement online profile changing Profile changing is done by launching a balance with BTRFS_BALANCE_CONVERT bits set and target fields of respective btrfs_balance_args structs initialized. Profile reducing code in this case will pick restriper's target profile if it's available instead of doing a blind reduce. If target profile is not yet available it goes back to a plain reduce. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>