Skip to content
Commit 19052c0e authored by NeilBrown's avatar NeilBrown
Browse files

Make writes to md/safe_mode_delay immediately effective.



If we reduce the 'safe_mode_delay', it could still wait for the old
delay to completely expire before doing anything about safe_mode.
Thus the effect if the change is delayed.

To make the effect more immediate, run the timeout function
immediately if the delay was reduced.  This may cause it to run
slightly earlier that required, but that is the safer option.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 2b12a4c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment