]> git.ipfire.org Git - thirdparty/mdadm.git/commit
systemd: start mdcheck_continue.timer before mdcheck_start.timer
authorMartin Wilck <mwilck@suse.com>
Wed, 13 Aug 2025 20:12:53 +0000 (22:12 +0200)
committerXiaoNi87 <xni@redhat.com>
Thu, 28 Aug 2025 07:49:34 +0000 (15:49 +0800)
commit8aa4ea95db3525c2d381ddf65da69ab549c814d4
treef4b9bfa70125158eabc6e6ca0a011f13e760f159
parenta40a6a7e57095ad3ed20f827c2ad992cf7658699
systemd: start mdcheck_continue.timer before mdcheck_start.timer

In the (unlikely but possible) case that a previously started md check
hasn't finished on the first Sunday of the following month,
mdcheck_start.service will start the scan from position 0, which is
probably not desired.

Have mdcheck_continue.service start first, so that it will pick up the
check where it left off, and that the subsequent mdcheck_start.service will
do nothing.

Signed-off-by: Martin Wilck <mwilck@suse.com>
systemd/mdcheck_continue.timer
systemd/mdcheck_start.timer