]> 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)
commit918e55d1e8ac3812fde5ea43df05bf555c936d01
tree859b579a8253265f2c1c6af9635434fda54486a4
parent34ca3001ddefd3dcd6f4d69a57f05b75ab3c5f22
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