commit | e93ae26fe1123e9077e79cc7af8a0d42adf4812f | [log] [tgz] |
---|---|---|
author | Filipe David Borba Manana <fdmanana@gmail.com> | Mon Oct 14 22:49:11 2013 +0100 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Nov 11 22:02:19 2013 -0500 |
tree | b74a3a9da256a0b624d2339ec5835b1756892b55 | |
parent | 229eed4348a482c11cf8d494392305a85ed478f9 [diff] |
Btrfs: optimize tree-log.c:count_inode_refs() Avoid repeated tree searches by processing all inode ref items in a leaf at once instead of processing one at a time, followed by a path release and a tree search for a key with a decremented offset. Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>