]> 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)
commitd4c2bc5573c152980e536b9f2dc2ebe1df85d62a
tree68ed15b8303d8aa7385df5383aebbef47debea4f
parentb36be4a281283cbdcf31907ae8752888f49b4f38
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