Skip to content
Commit e4d8ec0f authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
parent 70922617
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment