diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2012-01-16 22:04:48 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2012-01-16 22:04:48 +0200 |
commit | 0940ebf6b92ea10a6f30ae5ac3993a3b75745da6 (patch) | |
tree | 30942cd4eaa259951b549abf7c5c972abc8ab289 /fs/hppfs | |
parent | cfa4c961cc69ffb7bda450972320a25cbd413e19 (diff) | |
download | talos-obmc-linux-0940ebf6b92ea10a6f30ae5ac3993a3b75745da6.tar.gz talos-obmc-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/hppfs')
0 files changed, 0 insertions, 0 deletions