]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.c
Grow: do not allow size changes with other changes.
authorNeilBrown <neilb@suse.de>
Fri, 6 Nov 2009 06:26:47 +0000 (17:26 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 6 Nov 2009 06:26:47 +0000 (17:26 +1100)
commit9ce510be9c71bae002a3b68ad138b164c908150a
tree9101397388c651cf7199068437ea41d1e405c40a
parentb5ea446ae7c5548b9f3d88a474dc641a6910ddaf
Grow: do not allow size changes with other changes.

A change the reduces the size of an array always happens
before any other change.  So it can cause data to be lost.
By themselves these changes are reversible.  But once another
change has started, the data would be permanently lost.
So recommend data integrity be checked between a size change
and any other change.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
mdadm.c