diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-09-11 16:17:57 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:07 -0400 |
commit | d0c803c4049c5ca322d4795d8b74f28768603e0e (patch) | |
tree | b4c4f11b2f5938ad183a1771cd0b9e122709e2ff /fs/btrfs/acl.c | |
parent | 31ff1cd25d376e8f499d450de177dffadc9e1c56 (diff) | |
download | blackbird-op-linux-d0c803c4049c5ca322d4795d8b74f28768603e0e.tar.gz blackbird-op-linux-d0c803c4049c5ca322d4795d8b74f28768603e0e.zip |
Btrfs: Record dirty pages tree-log pages in an extent_io tree
This is the same way the transaction code makes sure that all the
other tree blocks are safely on disk. There's an extent_io tree
for each root, and any blocks allocated to the tree logs are
recorded in that tree.
At tree-log sync, the extent_io tree is walked to flush down the
dirty pages and wait for them.
The main benefit is less time spent walking the tree log and skipping
clean pages, and getting sequential IO down to the drive.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/acl.c')
0 files changed, 0 insertions, 0 deletions