On 2/19/19 6:46 AM, Pawel Baldysiak wrote: > On 2/13/19 4:21 PM, Jes Sorensen wrote: >> I think the principle of this is fine, but doing an indefinite while(1) >> raises the little hairs on the back of my neck. Could you limit it to >> say 5 or 10 runs? > > Hi, > I considered that, but actually - we do not really know how much is > enough. Array might stay clean for a long time if it is under heavy I/O. > Also - waiting for old mdmon to exit seems to be better than having two > mdmons managing one array. > Let me know if you agree. If still not - I will post another patch with > runs limited to some number. We can set the run higher than 5 or 10, but I would prefer there being an upper limit. Cheers, Jes