summaryrefslogtreecommitdiffstats
path: root/md_p.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-11-25 00:55:49 +0100
committerJes Sorensen <Jes.Sorensen@redhat.com>2016-11-28 14:50:36 +0100
commit71574efb077131701b3da874df0045f259ca3448 (patch)
treeef0279065d848d79848e164a5acdf4317a952c22 /md_p.h
parentIncrease buffer for sysfs disk state (diff)
downloadmdadm-71574efb077131701b3da874df0045f259ca3448.tar.xz
mdadm-71574efb077131701b3da874df0045f259ca3448.zip
Add failfast support.
Allow per-device "failfast" flag to be set when creating an array or adding devices to an array. When re-adding a device which had the failfast flag, it can be removed using --nofailfast. failfast status is printed in --detail and --examine output. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Diffstat (limited to 'md_p.h')
-rw-r--r--md_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/md_p.h b/md_p.h
index 0d691fbc..dc9fec16 100644
--- a/md_p.h
+++ b/md_p.h
@@ -89,6 +89,7 @@
* read requests will only be sent here in
* dire need
*/
+#define MD_DISK_FAILFAST 10 /* Fewer retries, more failures */
#define MD_DISK_REPLACEMENT 17
#define MD_DISK_JOURNAL 18 /* disk is used as the write journal in RAID-5/6 */