]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Btrfs: soft profile changing mode (aka soft convert)
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:48 +0000 (22:04 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Jan 2012 20:04:48 +0000 (22:04 +0200)
commitcfa4c961cc69ffb7bda450972320a25cbd413e19
tree68ed15b8303d8aa7385df5383aebbef47debea4f
parente4d8ec0f65b91bfb4984a4927632ded95f9825ad
Btrfs: soft profile changing mode (aka soft convert)

When doing convert from one profile to another if soft mode is on
restriper won't touch chunks that already have the profile we are
converting to.  This is useful if e.g. half of the FS was converted
earlier.

The soft mode switch is (like every other filter) per-type.  This means
that we can convert for example meta chunks the "hard" way while
converting data chunks selectively with soft switch.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/volumes.c
fs/btrfs/volumes.h