diff options
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | 2014-04-21 20:13:32 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-05-02 17:04:23 +0200 |
commit | ff58a897eaf7100d85179ce0d976897554455c36 (patch) | |
tree | 0f53a5b80bfca2a6e9a2fa67de30130924b638e9 /utils.c | |
parent | 4dbbcafd95f3371d9baef60fa3dd2083e4fb836a (diff) |
btrfs-progs: add dev maxs limit for btrfs_alloc_chunk in user 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: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.c')
0 files changed, 0 insertions, 0 deletions