]> git.ipfire.org Git - thirdparty/mdadm.git/commit - systemd/mdcheck_continue.timer
mdcheck: when mdcheck_start is enabled, enable mdcheck_continue too.
authorNeilBrown <neilb@suse.de>
Tue, 29 Oct 2019 23:32:41 +0000 (10:32 +1100)
committerJes Sorensen <jsorensen@fb.com>
Tue, 12 Nov 2019 20:36:27 +0000 (15:36 -0500)
commit6636788aaf4ec0cacaefb6e77592e4a68e70a957
tree03823cba7c935c79cf024bab007eca88430c9612
parent1a1ced1e2e64a6b4b349a3fb559f6b39e4cf7103
mdcheck: when mdcheck_start is enabled, enable mdcheck_continue too.

mdcheck_continue continues a regular array scan that was started by
mdcheck_start.
mdcheck_start will ensure that mdcheck_continue is active.
Howver if you reboot after a check has started, but before it finishes,
then mdcheck_continue won't cause it to continue, because nothing
starts it on boot.

So add an install option for mdcheck_contine, and make sure it
gets enabled when mdcheck_start is enabled.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
systemd/mdcheck_continue.timer
systemd/mdcheck_start.timer