diff options
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | 2014-04-21 16:13:12 +0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-10 04:20:36 +0400 |
commit | 23f8f9b7caca83d3397b1288a519c6579b7fda88 (patch) | |
tree | 5853816c24f3d48cc969bf80581451a110262551 /fs/open.c | |
parent | 5f43f86e3f62734dfeeb36c4d940425a2c6789dc (diff) | |
download | linux-23f8f9b7caca83d3397b1288a519c6579b7fda88.tar.xz |
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 <guihc.fnst@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions