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
parent
2bc5054a64
commit
3b82ac1696
|
|
@ -27,6 +27,7 @@ _md_force_run() {
|
|||
|
||||
_path_d="${_path_s%/*}/degraded"
|
||||
[ ! -r "$_path_d" ] && continue
|
||||
> $hookdir/initqueue/work
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue