]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: use token to avoid times mapping extent buffer
authorLiu Bo <bo.li.liu@oracle.com>
Thu, 27 Dec 2012 09:01:21 +0000 (09:01 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 14:37:15 +0000 (09:37 -0500)
commit5da3b8d07acb1f6ad117e87badc1595077023dfc
tree859b579a8253265f2c1c6af9635434fda54486a4
parente4e6483b30138253feb679f7877826fb746dc1d2
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>
fs/btrfs/inode.c