Searched refs:safemode_delay (Results 1 – 2 of 2) sorted by relevance
288 unsigned int safemode_delay; member
2972 int msec = (mddev->safemode_delay*1000)/HZ; in safe_delay_show()2983 mddev->safemode_delay = 0; in safe_delay_store()2985 unsigned long old_delay = mddev->safemode_delay; in safe_delay_store()2986 mddev->safemode_delay = (msec*HZ)/1000; in safe_delay_store()2987 if (mddev->safemode_delay == 0) in safe_delay_store()2988 mddev->safemode_delay = 1; in safe_delay_store()2989 if (mddev->safemode_delay < old_delay) in safe_delay_store()3133 mddev->safemode_delay = 0; in level_store()4600 mddev->safemode_delay = (200 * HZ)/1000 +1; /* 200 msec delay */ in md_run()6659 else if (mddev->safemode_delay) in md_write_end()[all …]