On 2/22/19 7:30 AM, Pawel Baldysiak wrote: > Since the patch c76242c5("mdmon: get safe mode delay file descriptor > early"), safe_mode_dalay is set properly by initrd mdmon. But in some > cases with filesystem traffic since the very start of the system, it > might take a while to transit to clean state. Due to fact that new > mdmon does not wait for the old one to exit - it might happen that the > new one switches safe_mode_delay back to seconds, before old one exits. > As the result two mdmons are running concurrently on same array. > > Wait for the old mdmon to exit by pinging it with SIGUSR1 signal, just > in case it is sleeping. > > Signed-off-by: Pawel Baldysiak <pawel.baldysiak@xxxxxxxxx> > --- > mdmon.c | 14 +++++++++++--- > 1 file changed, 11 insertions(+), 3 deletions(-) Applied! Thanks, Jes