summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2012-10-23 16:03:44 -0400
committerChris Mason <chris.mason@fusionio.com>2012-12-16 20:46:26 -0500
commit0b1c6ccadee4ea4adb98799f3430fc72e57a187f (patch)
tree6d2d6c37a12ef9a14b1266007fc54007ff25e22e /fs/btrfs/compression.c
parent41be1f3b40b87de33cd2e7463dce88596dbdccc4 (diff)
Btrfs: use tokens where we can in the tree log
If we are syncing over and over the overhead of doing all those maps in fill_inode_item and log_changed_extents really starts to hurt, so use map tokens so we can avoid all the extra mapping. Since the token maps from our offset to the end of the page make sure to set the first thing in the item first so we really only do one map. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions