diff options
author | NeilBrown <neilb@suse.de> | 2011-07-28 11:39:23 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-07-28 11:39:23 +1000 |
commit | b84db560ead5417b5594349512baf8837959df4f (patch) | |
tree | 77f8cfe305a32ace5f4ead4eb820e3f9fa14ce67 /drivers/md/raid5.h | |
parent | 73e92e51b7969ef5477dd28fe2ae4d77675896f4 (diff) | |
download | linux-3.10-b84db560ead5417b5594349512baf8837959df4f.tar.gz linux-3.10-b84db560ead5417b5594349512baf8837959df4f.tar.bz2 linux-3.10-b84db560ead5417b5594349512baf8837959df4f.zip |
md/raid5: Clear bad blocks on successful write.
On a successful write to a known bad block, flag the sh
so that raid5d can remove the known bad block from the list.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index 8620cb67ae3..11b9566184b 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h @@ -274,6 +274,7 @@ struct stripe_head_state { #define R5_Wantdrain 13 /* dev->towrite needs to be drained */ #define R5_WantFUA 14 /* Write should be FUA */ #define R5_WriteError 15 /* got a write error - need to record it */ +#define R5_MadeGood 16 /* A bad block has been fixed by writing to it*/ /* * Write method */ |