Btrfs: Full back reference support
authorZheng Yan <zheng.yan@oracle.com>
Tue, 23 Sep 2008 17:14:14 +0000 (13:14 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:07 +0000 (11:04 -0400)
commit31840ae1a6b433ca0e6a8d341756ff478bbf959e
tree9343db596aec175e9640aa2800b80f01496d7047
parent1c2308f8e7d8491467e0095af2b01500f1b70819
Btrfs: Full back reference support

This patch makes the back reference system to explicit record the
location of parent node for all types of extents. The location of
parent node is placed into the offset field of backref key. Every
time a tree block is balanced, the back references for the affected
lower level extents are updated.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/extent_io.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/print-tree.c
fs/btrfs/tree-log.c