mdraid/mdraid_start.sh: tell mainloop if we make progress.

mdraid_start is a number of scripts which run after a timeout.
If it makes progress, it should tell the main loop so that it
knows that it is worth waiting a bit longer.

So in that case, create the initqueue/work file which the main loop
checks for.

Signed-off-by: NeilBrown <neilb@suse.de>
master
NeilBrown 2015-03-26 15:41:46 +11:00 committed by Harald Hoyer
parent 2bc5054a64
commit 3b82ac1696
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ _md_force_run() {

_path_d="${_path_s%/*}/degraded"
[ ! -r "$_path_d" ] && continue
> $hookdir/initqueue/work
done
}