btrfs-progs: extent-tree: avoid allocating tree block that crosses stripe boundary
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 23 Jul 2015 09:18:09 +0000 (17:18 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 31 Aug 2015 17:25:10 +0000 (19:25 +0200)
commit854437ca3c228d8ab3eb24d2efc1c21b5d56a635
tree04fa30fba92b48bee53e8ca27dc43bc06abe5bba
parent595c57d2f4dd3199aacb23b4c68d6aff49f97d29
btrfs-progs: extent-tree: avoid allocating tree block that crosses stripe boundary

Now find_free_extent() function won't return a metadata extent that
crosses stripe boundary.

Reported-by: Chris Murphy <lists@colorremedies.com>
Reported-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
extent-tree.c