summaryrefslogtreecommitdiff
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2012-10-23 20:03:44 (GMT)
committerChris Mason <chris.mason@fusionio.com>2012-12-17 01:46:26 (GMT)
commit0b1c6ccadee4ea4adb98799f3430fc72e57a187f (patch)
tree6d2d6c37a12ef9a14b1266007fc54007ff25e22e /fs/btrfs/scrub.c
parent41be1f3b40b87de33cd2e7463dce88596dbdccc4 (diff)
downloadlinux-fsl-qoriq-0b1c6ccadee4ea4adb98799f3430fc72e57a187f.tar.xz
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/scrub.c')
0 files changed, 0 insertions, 0 deletions