Skip to content
Commit dba034ee authored by NeilBrown's avatar NeilBrown
Browse files

Fail safely when trying to grow an array with a write-intent bitmap.



We cannot currently change the size of a write-intent bitmap.
So if we change the size of an array which has such a bitmap, it
tries to set bits beyond the end of the bitmap.

For now, simply reject any request to change the size of an array
which has a bitmap.  mdadm can remove the bitmap and add a new one
after the array has changed size.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 2b25000b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment