]> rtime.felk.cvut.cz Git - linux-imx.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)
commit51fab693477c39ba82c153d3fb30a4cc6de49874
tree859b579a8253265f2c1c6af9635434fda54486a4
parentdcfac4156fa102c1bab0e4e31df37e47278292f6
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