From: Gui Hecheng Date: Mon, 21 Apr 2014 12:13:12 +0000 (+0800) Subject: btrfs: add dev maxs limit for __btrfs_alloc_chunk in kernel space X-Git-Tag: omap-for-v3.16/fixes-against-rc1~54^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f8f9b7caca83d3397b1288a519c6579b7fda88;p=pandora-kernel.git btrfs: add dev maxs limit for __btrfs_alloc_chunk in kernel space For RAID0,5,6,10, For system chunk, there shouldn't be too many stripes to make a btrfs_chunk that exceeds BTRFS_SYSTEM_CHUNK_ARRAY_SIZE For data/meta chunk, there shouldn't be too many stripes to make a btrfs_chunk that exceeds a leaf. Signed-off-by: Gui Hecheng Signed-off-by: Chris Mason --- Reading git-diff-tree failed