]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
Manage: allow adding device that is just large enough to v1.x array.
authorNeilBrown <neilb@suse.de>
Mon, 13 Oct 2008 05:15:16 +0000 (16:15 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 13 Oct 2008 05:15:16 +0000 (16:15 +1100)
commit2a528478c75b6659188fc2ce0d9543124992fe6c
treebb190fc4b4429525c568f698b15b03c19d164657
parente5669f40047ba0a8354418d0af5f7e7d862aaea4
Manage: allow adding device that is just large enough to v1.x array.

When adding a device to an array, we check that it is large enough.

Currently the check makes sure there is also room for a reasonably
sized bitmap.  But if the array doesn't have a bitmap, then this test
might be too restrictive.
So when adding, only insist there is enough space for the current
bitmap.
When Creating, still require room for the standard sized bitmap.

This resolved Debian Bug 500309
Manage.c
bitmap.c
mdadm.h
super1.c