From: Li Zefan Date: Sun, 20 Nov 2011 12:33:38 +0000 (-0500) Subject: Btrfs: avoid unnecessary bitmap search for cluster setup X-Git-Tag: v3.2-rc3~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52621cb6ed0e0e14358bb317bda7cd5fbd5c2a27;p=pandora-kernel.git Btrfs: avoid unnecessary bitmap search for cluster setup setup_cluster_no_bitmap() searches all the extents and bitmaps starting from offset. Therefore if it returns -ENOSPC, all the bitmaps starting from offset are in the bitmaps list, so it's sufficient to search from this list in setup_cluser_bitmap(). Signed-off-by: Li Zefan Signed-off-by: Chris Mason --- Reading git-diff-tree failed