Btrfs: Add btree locking to the tree defragmentation code
authorChris Mason <chris.mason@oracle.com>
Wed, 25 Jun 2008 20:01:31 +0000 (16:01 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:03 +0000 (11:04 -0400)
commite7a84565bcdb239caad29ccbe559ef978090ac7e
treeaaeba005e713cde2030c27451d98847accff116d
parenta74a4b97b61beede185b4b3ad359d7d378b0d312
Btrfs: Add btree locking to the tree defragmentation code

The online btree defragger is simplified and rewritten to use
standard btree searches instead of a walk up / down mechanism.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/tree-defrag.c