From: Filipe David Borba Manana Date: Mon, 14 Oct 2013 21:49:11 +0000 (+0100) Subject: Btrfs: optimize tree-log.c:count_inode_refs() X-Git-Tag: v3.13-rc1~85^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e93ae26fe1123e9077e79cc7af8a0d42adf4812f;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed