summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-08-09 02:17:12 +0200
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-08-09 02:17:12 +0200
commit26b8003f10569a9155b7539ef5a7379ee0c6b050 (patch)
tree22d788e74199629ca4deb2d5774fd3e5b9ef748a /fs/btrfs/transaction.h
parentBtrfs: Let some locks go during defrag and snapshot dropping (diff)
downloadlinux-26b8003f10569a9155b7539ef5a7379ee0c6b050.tar.xz
linux-26b8003f10569a9155b7539ef5a7379ee0c6b050.zip
Btrfs: Replace extent tree preallocation code with some bit radix magic.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r--fs/btrfs/transaction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h
index 8b2714e65562..65a395eeca91 100644
--- a/fs/btrfs/transaction.h
+++ b/fs/btrfs/transaction.h
@@ -39,6 +39,8 @@ struct btrfs_trans_handle {
unsigned long blocks_used;
struct btrfs_transaction *transaction;
struct btrfs_block_group_cache *block_group;
+ u64 alloc_exclude_start;
+ u64 alloc_exclude_nr;
};