]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: mdmon check in reshape_container() can cause a problem
authorAdam Kwolek <adam.kwolek@intel.com>
Thu, 12 Jan 2012 07:12:47 +0000 (08:12 +0100)
committerNeilBrown <neilb@suse.de>
Mon, 30 Jan 2012 00:36:25 +0000 (11:36 +1100)
commit3c20f9899bc95b35f5b9544c6741b4fccd616326
tree9b832cbc8577d5ca8fed608c3c45e1bd3bb316f4
parent5d1c7cdaca575d8a32a7a82517d88e2099f6a213
FIX: mdmon check in reshape_container() can cause a problem

When raid0 reshape is executed mdmon can dissappear due to raid level
takeover operation. If this happen before mdmon check, mdadm would treat
it as error condition. It is not true for this case.

Remove mdmon check from reshape_container() function.
Error condition check will remain using reshape_array() reentry test
for the same array (line 2577).

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