]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add tree modification log functions
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 16 May 2012 15:18:50 +0000 (17:18 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 30 May 2012 13:17:01 +0000 (15:17 +0200)
commit6c8f57d79f346c053b40172b229cf0aedf7b5b1d
tree3689629e226678802bfe9b8a91ae560ef50a93f0
parente7ac089d71cf4a341f8769710d75839dc0beca7f
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