From: Josef Bacik Date: Wed, 11 May 2011 16:17:34 +0000 (-0400) Subject: Btrfs: map the node block when looking for readahead targets X-Git-Tag: v3.0-rc2~5^2~11^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb25c2ea6a79702ab7895b873c6c43e0d3bc3c72;p=pandora-kernel.git Btrfs: map the node block when looking for readahead targets If we have particularly full nodes, we could call btrfs_node_blockptr up to 32 times, which is 32 pairs of kmap/kunmap, which _sucks_. So go ahead and map the extent buffer while we look for readahead targets. Thanks, Signed-off-by: Josef Bacik --- Reading git-diff-tree failed