]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: check container is idle before freezing it.
authorNeilBrown <neilb@suse.de>
Wed, 15 Dec 2010 22:07:51 +0000 (09:07 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 15 Dec 2010 22:07:51 +0000 (09:07 +1100)
commitd7ca196cbda7ec5e6d2a3139a5545e3e0d57a67e
tree872fa25b21b0a438b4c1c71d9149856396a6b1bf
parent11877f4dc2c9943058eaa94788f523c6004a0d5f
Grow: check container is idle before freezing it.

Before we freeze a container in preparation for growing a subarray, we
need to be sure all the subarrays are idle.

This test is racy as recovery could start at any moment following a
failure.  However it is still useful as it stops us from even trying
to start a reshape while a reshape or recovery is active.

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