]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
Refactor reshape monitoring.
authorNeilBrown <neilb@suse.de>
Thu, 6 Jan 2011 04:58:32 +0000 (15:58 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 6 Jan 2011 04:58:32 +0000 (15:58 +1100)
commit7443ee81873b26516bc672cbe6a736030c5ec746
treec09e40643d674a37020354bab0711830ce18c159
parent5da9ab9874cb5896023afae1462550d83a869831
Refactor reshape monitoring.

Combine all the non-backing-up code into a single function:
progress_reshape.  It is called repeatedly to monitor a
reshape and allow it to happen safely.

Have a single separate function 'child_monitor' which
performs backups of data and calls progress_reshape to
wait for the next backup to be needed.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
external-reshape-design.txt