diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-09-24 11:23:25 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 15:41:59 -0400 |
commit | 9b49c9b9f93e148815f2544d0c91f43b6d72eea9 (patch) | |
tree | 2cd29ee73e641a5069128d87a668d4fff3626502 /fs/btrfs/file.c | |
parent | 60582d1e933649f14f46f816bb75049058679e01 (diff) | |
download | blackbird-op-linux-9b49c9b9f93e148815f2544d0c91f43b6d72eea9.tar.gz blackbird-op-linux-9b49c9b9f93e148815f2544d0c91f43b6d72eea9.zip |
Btrfs: Fix allocation completions in tree log replay
After a crash, the tree log code uses btrfs_alloc_logged_extent to
record allocations of data extents that it finds in the log tree. These
come in basically random order, which does not fit how
btrfs_remove_free_space() expects to be called.
btrfs_remove_free_space was changed to support recording an extent
allocation in the middle of a region of free space.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions