diff options
author | Filipe David Borba Manana <fdmanana@gmail.com> | 2013-10-15 01:49:11 +0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-12 07:02:19 +0400 |
commit | e93ae26fe1123e9077e79cc7af8a0d42adf4812f (patch) | |
tree | b74a3a9da256a0b624d2339ec5835b1756892b55 /fs/btrfs/dev-replace.c | |
parent | 229eed4348a482c11cf8d494392305a85ed478f9 (diff) | |
download | linux-e93ae26fe1123e9077e79cc7af8a0d42adf4812f.tar.xz |
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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions