diff options
author | 2012-01-16 22:04:48 +0200 | |
---|---|---|
committer | 2012-01-16 22:04:48 +0200 | |
commit | e4d8ec0f65b91bfb4984a4927632ded95f9825ad (patch) | |
tree | 4727c977803093ec5cdf93da4fcab34cc8de8ecf /crypto/api.c | |
parent | Btrfs: do not reduce profile in do_chunk_alloc() (diff) | |
download | wireguard-linux-e4d8ec0f65b91bfb4984a4927632ded95f9825ad.tar.xz wireguard-linux-e4d8ec0f65b91bfb4984a4927632ded95f9825ad.zip |
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>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions