Re: [PATCH md ] Better handling of readerrors with raid5.

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

 



On Friday September 16, mhardy@xxxxxxx wrote:
> 
> NeilBrown wrote:
> > TESTERS WANTED!!  SEE BELOW...
> > 
> > This patch changes the behaviour of raid5 when it gets a read error.
> > Instead of just failing the device, it tried to find out what should
> > have been there, and writes it over the bad block.  For some
> > media-errors, this has a reasonable chance of fixing the error.
> > If the write succeeds, and a subsequent read succeeds as well, raid5
> > decided the address is OK and continues.
> > 
> > I have tested this using the 'faulty' md personality, but it would be
> > really good to test it with real disks that have real errors.  If
> > anyone has such drives in a cupboard (or even in a computer) and would
> > be willing to give this a try, I would really appreciate it.
> 
> 
> Oh, this makes me so happy. Thank you thank you thank you.

Thanks....

> 
> I regret that I just yesterday sent a drive back with spontaneously
> growing read errors that were fixable yet would pop up in another
> spot.

Seems my timing is a little off :-)

> 
> Does this apply cleanly to 2.6.13 though? Does it require any special
> tool support or superblock (version of mdadm, etc)? I could put it on
> one of my non-mission-critical rigs and let it run for a while.

It should apply to 2.6.13  - it is purely a raid5 change, and most of
the md changes since 2.6.13 are md.c only.  So if 'patch' says it
applies, you can be sure it applies correctly.

It doesn't require any other changes - it's purely internal to raid5.

Thanks for trying to help..

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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