diff options
author | Yan, Zheng <zheng.yan@oracle.com> | 2010-05-16 16:48:47 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-05-25 16:34:51 +0200 |
commit | 0ca1f7ceb1991099ed5273885ebcf4323948c72e (patch) | |
tree | 10758d6a55c529aced177da3f6bf45cf26361913 /fs/btrfs/tree-defrag.c | |
parent | Btrfs: Integrate metadata reservation with start_transaction (diff) | |
download | linux-0ca1f7ceb1991099ed5273885ebcf4323948c72e.tar.xz linux-0ca1f7ceb1991099ed5273885ebcf4323948c72e.zip |
Btrfs: Update metadata reservation for delayed allocation
Introduce metadata reservation context for delayed allocation
and update various related functions.
This patch also introduces EXTENT_FIRST_DELALLOC control bit for
set/clear_extent_bit. It tells set/clear_bit_hook whether they
are processing the first extent_state with EXTENT_DELALLOC bit
set. This change is important if set/clear_extent_bit involves
multiple extent_state.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
0 files changed, 0 insertions, 0 deletions