]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add a log of past tree roots
authorChris Mason <chris.mason@oracle.com>
Thu, 3 Nov 2011 19:17:42 +0000 (15:17 -0400)
committerChris Mason <chris.mason@oracle.com>
Sun, 6 Nov 2011 08:04:15 +0000 (03:04 -0500)
commite7d6a086df4b3c2f62496ca24af2e6a79569df9d
treef8f5d8f18a115431e8826fa1c46580311dc1e485
parent30c5c3349193c9148168cdd2dece9b2f8eb6c608
Btrfs: add a log of past tree roots

This takes some of the free space in the btrfs super block
to record information about most of the roots in the last four
commits.

It also adds a -o recovery to use the root history log when
we're not able to read the tree of tree roots, the extent
tree root, the device tree root or the csum root.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/super.c