Btrfs: remove last_log_alloc allocator optimization
authorChris Mason <chris.mason@oracle.com>
Fri, 3 Oct 2008 16:24:01 +0000 (12:24 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 3 Oct 2008 16:24:01 +0000 (12:24 -0400)
commit30c43e2444c16afe3b2130f40ad273541bf3dc36
treed15296f70f1a66c0248008bfa77494593f28f2a2
parentcb843a6f513a1a91c54951005e60bd9b95bdf973
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>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/transaction.c