summaryrefslogtreecommitdiff
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2015-12-21 14:56:38 +1100
committerNeilBrown <neilb@suse.com>2015-12-21 14:56:38 +1100
commit6dd16dac40010a23c4e7e14b69703f4296c60496 (patch)
tree535f364144012a582e9c079294b0938f2b05f9a8 /mdadm.h
parenta0d12d51a7a12d14963f60d99bad6e71c7d0b202 (diff)
downloadmdadm-6dd16dac40010a23c4e7e14b69703f4296c60496.tar.gz
Add --update=force-no-bbl.
This forcibly removed the bad-block log. There can be situations where it is hard to remove bad blocks by writing to them - partiularly on RAID5. Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'mdadm.h')
-rwxr-xr-xmdadm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdadm.h b/mdadm.h
index 99802c3..dd02be7 100755
--- a/mdadm.h
+++ b/mdadm.h
@@ -820,7 +820,8 @@ extern struct superswitch {
* readwrite - clear the WriteMostly1 bit in the superblock devflags
* no-bitmap - clear any record that a bitmap is present.
* bbl - add a bad-block-log if possible
- * no-bbl - remove and bad-block-log is it is empty.
+ * no-bbl - remove any bad-block-log is it is empty.
+ * force-no-bbl - remove any bad-block-log even if empty.
* revert-reshape - If a reshape is in progress, modify metadata so
* it will resume going in the opposite direction.
*/