summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/locking.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2012-12-27 10:01:21 +0100
committerJosef Bacik <jbacik@fusionio.com>2013-02-20 15:37:15 +0100
commit51fab693477c39ba82c153d3fb30a4cc6de49874 (patch)
tree859b579a8253265f2c1c6af9635434fda54486a4 /fs/btrfs/locking.c
parentBtrfs: kill unused argument of btrfs_pin_extent_for_log_replay (diff)
downloadlinux-51fab693477c39ba82c153d3fb30a4cc6de49874.tar.xz
linux-51fab693477c39ba82c153d3fb30a4cc6de49874.zip
Btrfs: use token to avoid times mapping extent buffer
The API in tree log code has done sort of changes, and it proves that we can benifit from using token, so do the same thing here. function_graph tracer's timer shows that it costs nearly half time of before(39.788us -> 22.391us). Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/locking.c')
0 files changed, 0 insertions, 0 deletions