linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID1 robust read and read/write correct patch
@ 2005-02-23 11:01 J. David Beutel
  2005-02-23 11:50 ` Peter T. Breuer
  0 siblings, 1 reply; 4+ messages in thread
From: J. David Beutel @ 2005-02-23 11:01 UTC (permalink / raw)
  To: linux-raid

I'd like to try this patch 
http://marc.theaimsgroup.com/?l=linux-raid&m=110704868115609&w=2 with 
EVMS BBR.

Has anyone tried it on 2.6.10 (with FC2 1.9 and EVMS patches)?  Has 
anyone tried the rewrite part at all?  I don't know md or the kernel or 
this patch, but the following lines of the patch seem suspicious to me.  
Should it set R1BIO_ReadRewrite instead?  That bit gets tested later, 
whereas it seems like R1BIO_ReadRetry is never tested and 
R1BIO_ReadRewrite is never set.

+#ifdef DO_ADD_READ_WRITE_CORRECT
+	        else    /* tell next time we're here that we're a retry */
+	                set_bit(R1BIO_ReadRetry, &r1_bio->state);
+#endif /* DO_ADD_READ_WRITE_CORRECT */


Cheers,
11011011

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

end of thread, other threads:[~2005-02-23 21:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-23 11:01 RAID1 robust read and read/write correct patch J. David Beutel
2005-02-23 11:50 ` Peter T. Breuer
2005-02-23 20:48   ` J. David Beutel
2005-02-23 21:15     ` Peter T. Breuer

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