Thread (38 messages) 38 messages, 9 authors, 2020-05-15

Re: raid6check extremely slow ?

From: antlists <hidden>
Date: 2020-05-12 20:54:21

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help