linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature suggestion: immediate repair attempt on failed read?
@ 2008-11-14 12:29 John Robinson
  0 siblings, 0 replies; only message in thread
From: John Robinson @ 2008-11-14 12:29 UTC (permalink / raw)
  To: Linux RAID

On 13/11/2008 23:04, Mikael Abrahamsson wrote (in the "OT: Tips for good 
hard drives for a home server" thread):
> Looking at the md code in linux, would it be possible to do some work 
> around here in that if a drive read operationstalls, let's try to read 
> from the other drives and then re-write the block on the drive that 
> stalled?

I'd like to second this suggestion; my coding skills are WAY too rusty 
to attempt it myself, but it sounds like an excellent idea.

We could also have a timeout setting so that if a read stalls, at least 
the application can get its data (by reading the other discs) and the md 
subsystem can carry on waiting for the read and/or just doing the 
rewrite in the background.

What happens at the moment - could one slow read cause the array to be 
switched into degraded mode immediately?

Cheers,

John.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-14 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-14 12:29 Feature suggestion: immediate repair attempt on failed read? John Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).