Re: raid6check extremely slow ?

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

 



On 12/05/2020 17:09, Piergiorgio Sartor wrote:
About the check -> maybe lock -> re-check,
it is a possible workaround, but I find it
a bit extreme.

This seems the best (most obvious?) solution to me.

If the system is under light write pressure, and the disk is healthy, it will scan pretty quickly with almost no locking.

If the system is under heavy pressure, chances are there'll be a fair few stripes needing rechecking, but even at it's worst it'll only be as bad as the current setup.

And if the system is somewhere inbetween, you still stand a good chance of a fast scan.

At the end of the day, the rule should always be "lock only if you need to" so looking for problems with an optimistic no-lock scan, then locking only if needed to check and fix the problem, just feels right.

Cheers,
Wol



[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