]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitaf31f5e5b84b5bf2bcec464153a5130b170b2770
treef8f5d8f18a115431e8826fa1c46580311dc1e485
parent6c41761fc6efe1503103a1afe03a6635c0b5d4ec
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