X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=drivers%2Fmd%2Fraid10.h;h=b0a435869dca7d9a67ef09655ef090b72e2a03f0;hb=473e87ce485ffcac041f7911b33f0b4cd4d6cf2b;hp=ecdb440b003ac1dffeba7c6c5c3a147b5bd611f5;hpb=0eaf822cb3dfcf2a64b2d27f4f6219186adb2695;p=deliverable%2Flinux.git diff --git a/drivers/md/raid10.h b/drivers/md/raid10.h index ecdb440b003a..b0a435869dca 100644 --- a/drivers/md/raid10.h +++ b/drivers/md/raid10.h @@ -123,20 +123,6 @@ struct r10bio { } devs[0]; }; -/* when we get a read error on a read-only array, we redirect to another - * device without failing the first device, or trying to over-write to - * correct the read error. To keep track of bad blocks on a per-bio - * level, we store IO_BLOCKED in the appropriate 'bios' pointer - */ -#define IO_BLOCKED ((struct bio*)1) -/* When we successfully write to a known bad-block, we need to remove the - * bad-block marking which must be done from process context. So we record - * the success by setting devs[n].bio to IO_MADE_GOOD - */ -#define IO_MADE_GOOD ((struct bio *)2) - -#define BIO_SPECIAL(bio) ((unsigned long)bio <= 2) - /* bits for r10bio.state */ enum r10bio_state { R10BIO_Uptodate,