]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
FIX: Assembled second array is in read only state during reshape
authorAdam Kwolek <adam.kwolek@intel.com>
Fri, 13 Apr 2012 14:52:08 +0000 (16:52 +0200)
committerNeilBrown <neilb@suse.de>
Tue, 17 Apr 2012 02:33:38 +0000 (12:33 +1000)
commit4aecb54a211a77aa0589aa2abb8acd992ae8795a
tree1d71e583331053e4b9dd88f296f0b52e3328a634
parent58d26a2a81c4ad93ccce88865f2c4ac2588bec69
FIX: Assembled second array is in read only state during reshape

When arrays using external metadata are assembled, and one of array
in container is under reshape, second array will remain in read only
state (not auto read only). It is caused by array fact that array
is frozen and mdmon doesn't has opportunity to switch array in r/w mode.

Freezing not reshaped array just after it is being assembled allows mdmon
to enable it for writing.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c