aboutsummaryrefslogtreecommitdiffstats
path: root/Detail.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-11-25 10:55:49 +1100
committerJes Sorensen <Jes.Sorensen@redhat.com>2016-11-28 08:50:36 -0500
commit71574efb077131701b3da874df0045f259ca3448 (patch)
treeef0279065d848d79848e164a5acdf4317a952c22 /Detail.c
parentcf52eff58ab9d08e3d016c4f22da8adfc295d7e0 (diff)
downloadmdadm-71574efb077131701b3da874df0045f259ca3448.tar.gz
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 'Detail.c')
-rw-r--r--Detail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Detail.c b/Detail.c
index 925e4794..509b0d41 100644
--- a/Detail.c
+++ b/Detail.c
@@ -658,6 +658,7 @@ This is pretty boring
}
if (disk.state & (1<<MD_DISK_REMOVED)) printf(" removed");
if (disk.state & (1<<MD_DISK_WRITEMOSTLY)) printf(" writemostly");
+ if (disk.state & (1<<MD_DISK_FAILFAST)) printf(" failfast");
if (disk.state & (1<<MD_DISK_JOURNAL)) printf(" journal");
if ((disk.state &
((1<<MD_DISK_ACTIVE)|(1<<MD_DISK_SYNC)