]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: notice when --stop is synchronising a reshape and don't mess it up.
authorNeilBrown <neilb@suse.de>
Thu, 4 Jul 2013 07:16:20 +0000 (17:16 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 4 Jul 2013 07:18:24 +0000 (17:18 +1000)
commita6b2d86c624dd43ede83570ac0b254bcb98ca1d9
tree13de642fbab65e07fdc3b11ff1417b224058abea
parent737f8574cdba8ac97e709c75a99088e83f5552b1
Grow: notice when --stop is synchronising a reshape and don't mess it up.

--stop now tries to wait for a reshape to be at just the right spot.
However for a reducing reshape, mdadm will be running in the
background watching, and might adjust sync_max and mess things up.

So teach "progress_reshape" to notice when "sync_max" is modified, and
leave it alone.

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