]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: Frozen array can't be idle
authorMariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Wed, 1 Aug 2018 13:29:31 +0000 (15:29 +0200)
committerJes Sorensen <jsorensen@fb.com>
Wed, 1 Aug 2018 15:57:43 +0000 (11:57 -0400)
commit84d88fd885de05a5f126a1f3661687c541001e39
treebd58d568f1a23a7790ea47f9961ca8c0a3b78a0a
parent18552ef041221d79a30c69d22bc2b68f1c216e97
Grow: Frozen array can't be idle

When array is frozen but there is no recovery/reshape in mdstat,
check_idle() will not return error but grow countinue can still working.

Check is array frozen. Do not use sysfs sync_action parameter because it
doesn't exist for Raid0, simply check metadata_version in mdstat.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Grow.c