• N
    Make writes to md/safe_mode_delay immediately effective. · 19052c0e
    NeilBrown 提交于
    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: NNeilBrown <neilb@suse.de>
    19052c0e
md.c 161.2 KB