]> git.baikalelectronics.ru Git - kernel.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)
commitb774d925a0a5db4ae00c67d56c06275c6839e39a
tree68ed15b8303d8aa7385df5383aebbef47debea4f
parentc0518072f79d1071f422e24c9d8a1db9d07307a4
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