commit | 7069830a9e381e33d44ded45095f764844c71d24 | [log] [tgz] |
---|---|---|
author | Alexander Block <ablock84@googlemail.com> | Tue Jun 05 21:07:48 2012 +0200 |
committer | Alexander Block <ablock84@googlemail.com> | Wed Jul 25 23:30:14 2012 +0200 |
tree | 128cdd4c868bdaa436383e20930fbcc3b269de7e | |
parent | 8ea05e3a4262b9e6871c349fa3486bcfc72ffd1a [diff] |
Btrfs: add btrfs_compare_trees function This function is used to find the differences between two trees. The tree compare skips whole subtrees if it detects shared tree blocks and thus is pretty fast. Signed-off-by: Alexander Block <ablock84@googlemail.com> Reviewed-by: David Sterba <dave@jikos.cz> Reviewed-by: Arne Jansen <sensille@gmx.net> Reviewed-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Reviewed-by: Alex Lyakas <alex.bolshoy.btrfs@gmail.com>