diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2012-01-16 21:04:48 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2012-01-16 21:04:48 +0100 |
commit | 0940ebf6b92ea10a6f30ae5ac3993a3b75745da6 (patch) | |
tree | 30942cd4eaa259951b549abf7c5c972abc8ab289 /fs/btrfs/xattr.h | |
parent | Btrfs: soft profile changing mode (aka soft convert) (diff) | |
download | linux-0940ebf6b92ea10a6f30ae5ac3993a3b75745da6.tar.xz linux-0940ebf6b92ea10a6f30ae5ac3993a3b75745da6.zip |
Btrfs: save balance parameters to disk
Introduce a new btree objectid for storing balance item. The reason is
to be able to resume restriper after a crash with the same parameters.
Balance item has a very high objectid and goes into tree of tree roots.
The key for the new item is as follows:
[ BTRFS_BALANCE_OBJECTID ; BTRFS_BALANCE_ITEM_KEY ; 0 ]
Older kernels simply ignore it so it's safe to mount with an older
kernel and then go back to the newer one.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/btrfs/xattr.h')
0 files changed, 0 insertions, 0 deletions