linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* raid5 that used parity for reads only when degraded
@ 2006-03-22 23:47 Alex Izvorski
  2006-03-23  0:13 ` Neil Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Izvorski @ 2006-03-22 23:47 UTC (permalink / raw)
  To: linux-raid

Hello,

I have a question: I'd like to have a raid5 array which writes parity data but
does not check it during reads while the array is ok.  I would trust each disk
to detect errors itself and cause the array to be degraded if necessary, in
which case that disk would drop out and the parity data would start being used
just as in a normal raid5.  In other words until there is an I/O error that
causes a disk to drop out, such an array would behave almost like a raid0 with
N-1 disks as far as reads are concerned.  Ideally this behavior would be
something that one could turn on/off on the fly with a ioctl or via a echo "0" >
/sys/block/md0/check_parity_on_reads type of mechanism.  

How hard is this to do?   Is anyone interested in helping to do this?  I think
it would really help applications which have a lot more reads than writes. 
Where exactly does parity checking during reads happen?  I've looked over the
code briefly but the right part of it didn't appear obvious ;)

Regards,
--Alex



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-03-24 23:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-22 23:47 raid5 that used parity for reads only when degraded Alex Izvorski
2006-03-23  0:13 ` Neil Brown
2006-03-24  4:38   ` Alex Izvorski
2006-03-24  4:38     ` Neil Brown
2006-03-24  9:02       ` raid5 high cpu usage during reads Alex Izvorski
2006-03-24 17:19     ` raid5 that used parity for reads only when degraded dean gaudet
2006-03-24 23:16       ` Alex Izvorski

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).