From: Ilya Dryomov Date: Mon, 16 Jan 2012 20:04:48 +0000 (+0200) Subject: Btrfs: save balance parameters to disk X-Git-Tag: v3.3-rc1~26^2~12^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0940ebf6b92ea10a6f30ae5ac3993a3b75745da6;p=pandora-kernel.git 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 --- Reading git-diff-tree failed