]> 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)
commite5be17cbef3d9c93bdd54deb433f8c22ac987d2c
treef8f5d8f18a115431e8826fa1c46580311dc1e485
parentaaf64d2c11550549c2e0694cb9a9ab61da20bb82
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