diff options
author | Josef Bacik <jbacik@fusionio.com> | 2012-10-15 13:43:18 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-12-16 20:46:26 -0500 |
commit | 41be1f3b40b87de33cd2e7463dce88596dbdccc4 (patch) | |
tree | 6b2bd0ec252c70df303ec89b65fce172a9b5e921 /security | |
parent | ad9145596986b672d8c8235c92ed5307f82d045d (diff) | |
download | op-kernel-dev-41be1f3b40b87de33cd2e7463dce88596dbdccc4.zip op-kernel-dev-41be1f3b40b87de33cd2e7463dce88596dbdccc4.tar.gz |
Btrfs: optimize leaf_space_used
This gets called at least 4 times for every level while adding an object,
and it involves 3 kmapping calls, which on my box take about 5us a piece.
So instead use a token, which brings us down to 1 kmap call and makes this
function take 1/3 of the time per call. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions