From: Li Zefan Date: Thu, 1 Dec 2011 04:55:47 +0000 (+0800) Subject: Btrfs: don't pre-allocate btrfs bio X-Git-Tag: v3.3-rc1~26^2~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de11cc12df17337979e0929d2831887432f236ca;p=pandora-kernel.git Btrfs: don't pre-allocate btrfs bio We pre-allocate a btrfs bio with fixed size, and then may re-allocate memory if we find stripes are bigger than the fixed size. But this pre-allocation is not necessary. Also we don't have to calcuate the stripe number twice. Signed-off-by: Li Zefan --- Reading git-diff-tree failed