Btrfs: add tree modification log functions
commitbd989ba359f2acb8bc5f5490e19010fc0a6f8356
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 16 May 2012 15:18:50 +0000 (16 17:18 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 30 May 2012 13:17:01 +0000 (30 15:17 +0200)
tree3689629e226678802bfe9b8a91ae560ef50a93f0
parentf29021b29a85701c08afadfd51d87163fb078059
Btrfs: add tree modification log functions

The tree mod log will log modifications made fs-tree nodes. Most
modifications are done by autobalance of the tree. Such changes are recorded
as long as a block entry exists. When released, the log is cleaned.

With the tree modification log, it's possible to reconstruct a consistent
old state of the tree. This is required to do backref walking on a busy
file system.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/ctree.c
fs/btrfs/ctree.h