aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-10-03 12:24:01 -0400
committerChris Mason <chris.mason@oracle.com>2008-10-03 12:24:01 -0400
commit30c43e2444c16afe3b2130f40ad273541bf3dc36 (patch)
treed15296f70f1a66c0248008bfa77494593f28f2a2 /fs/btrfs/ctree.h
parentcb843a6f513a1a91c54951005e60bd9b95bdf973 (diff)
Btrfs: remove last_log_alloc allocator optimization
The tree logging code was trying to separate tree log allocations from normal metadata allocations to improve writeback patterns during an fsync. But, the code was not effective and ended up just mixing tree log blocks with regular metadata. That seems to be working fairly well, so the last_log_alloc code can be removed. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 94e0cdfddc0c..8566eb30f567 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -672,7 +672,6 @@ struct btrfs_fs_info {
672 u64 delalloc_bytes; 672 u64 delalloc_bytes;
673 u64 last_alloc; 673 u64 last_alloc;
674 u64 last_data_alloc; 674 u64 last_data_alloc;
675 u64 last_log_alloc;
676 675
677 spinlock_t ref_cache_lock; 676 spinlock_t ref_cache_lock;
678 u64 total_ref_cache_size; 677 u64 total_ref_cache_size;