Browse Source
A number of timeout scripts can be registered. If any one of them makes progress - e.g. assembles a degraded md array - then the main loop should wait a bit longer rather than pressing forward. This is particularly important is resume-from-hibernate requires a degraded md array. Both the script to forcibly assemble the md array and the script to abort hibernation if the device doesn't appear are 'timeout' scripts. There needs to be a reasonable delay between these running. So: if any script has indicated that progress was made, break of out the loop and go back to normal waiting. Signed-off-by: NeilBrown <neilb@suse.de>master


1 changed files with 1 additions and 0 deletions
Loading…
Reference in new issue