Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1531328 > unrolled thread

Re: [mdadm PATCH] Add failfast support.

Started byJes Sorensen <Jes.Sorensen@redhat.com>
First post2016-11-28 15:00 +0100
Last post2016-11-28 15:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [mdadm PATCH] Add failfast support. Jes Sorensen <Jes.Sorensen@redhat.com> - 2016-11-28 15:00 +0100

#1531328 — Re: [mdadm PATCH] Add failfast support.

FromJes Sorensen <Jes.Sorensen@redhat.com>
Date2016-11-28 15:00 +0100
SubjectRe: [mdadm PATCH] Add failfast support.
Message-ID<sIuDo-2Mu-29@gated-at.bofh.it>
NeilBrown <neilb@suse.com> writes:
> 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>
> ---
>
> Hi Jes,
>  this patch adds mdadm support for the failfast functionality that
> Shaohua recently included in his for-next.
> Hopefully the man-page additions provide all necessary context.
> If there is anything that seems to be missing, I'll be very happy to
> add it.

Hi Neil,

It looks reasonable. The only minor concern I have is over the use of
hardcoded magic numbers like 'dv->failfast = 2' rather than using an
enum or defines with descriptive names. Something that can be addressed
later, so patch applied.

Cheers,
Jes

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web