Re: [PATCH 1/1] mdmon: wait for previous mdmon to exit during takeover

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux