]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Build.c
Limit size of bitmap to 2million chunks.
authorNeil Brown <neilb@suse.de>
Mon, 15 May 2006 04:21:33 +0000 (04:21 +0000)
committerNeil Brown <neilb@suse.de>
Mon, 15 May 2006 04:21:33 +0000 (04:21 +0000)
commit1bfdbe01ff300ebbf92d68c15722d2ba861aac3b
treecc0f64dabdaddf62383a377f317ad0e2b94dc9ce
parent8686f3ed069671e5cbf8660cfd73c92b066563d0
Limit size of bitmap to 2million chunks.

When creating a file bitmap, choose a default size that
results in fewer than 2^21 chunks.  Without this kmalloc
failure in the kernel becomes likely.

Signed-off-by: Neil Brown <neilb@suse.de>
Build.c
ChangeLog
Create.c
Grow.c
bitmap.c
mdadm.8
mdadm.c