]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: Do not try to restart if reshape is running
authorPawel Baldysiak <pawel.baldysiak@intel.com>
Wed, 16 Jul 2014 10:20:34 +0000 (12:20 +0200)
committerNeilBrown <neilb@suse.de>
Thu, 17 Jul 2014 04:08:24 +0000 (14:08 +1000)
commit13ffbe89b6103c146c08eb1c9a70833306c8322b
tree14b8c07f033891898342ed29ae8a9e2bed532f3e
parent095b8088fa99ad1195d1aba03af2aa561b4a6379
Grow: Do not try to restart if reshape is running

Grow process did not check if reshape is already started
when deciding about restarting.
Sync_action should be checked in this case, and if
reshape is running - restart flag should not be set.
Otherwise, Grow process will fail to write data to
sysfs, and reshape will not be continued.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c