]> www.infradead.org Git - users/jedix/linux-maple.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>
Wed, 16 Nov 2011 02:20:50 +0000 (21:20 -0500)
commitd7a034792ff7c0fdb39c4c57589f64c1a15c40d9
tree2d19e9ba8bd3974048b0df3e036bdc4c07698263
parentc650f451a45105a87d93fb43ac2c598ee427eee8
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>
(cherry picked from commit af31f5e5b84b5bf2bcec464153a5130b170b2770 with conflicts)
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/super.c