Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Jes Sorensen <Jes.Sorensen@redhat.com>
To: Song Liu <songliubraving@fb.com>
Cc: linux-raid@vger.kernel.org, yizhan@redhat.com, Shaohua Li <shli@fb.com>
Subject: Re: [PATCH] mdadm: add man page for --add-journal
Date: Fri, 12 Aug 2016 10:58:27 -0400	[thread overview]
Message-ID: <wrfjshua825o.fsf@redhat.com> (raw)
In-Reply-To: <1470960604-2852450-1-git-send-email-songliubraving@fb.com> (Song Liu's message of "Thu, 11 Aug 2016 17:10:04 -0700")

Song Liu <songliubraving@fb.com> writes:
> Add the following to man page:
>
> --add-journal
>       Recreate journal for RAID-4/5/6 array that losts journal
>       devices. In current implementation, this command cannot
>       add journal to an array that had failed journal.  To
>       avoid  interrupting  on-going  write  opertions,
>       --add-journal only works for array in Read-Only state.
>
> Reported-by: Yi Zhang <yizhan@redhat.com>
> Signed-off-by: Song Liu <songliubraving@fb.com>
> Signed-off-by: Shaohua Li <shli@fb.com>
> ---
>  mdadm.8.in | 8 ++++++++
>  1 file changed, 8 insertions(+)

Applied, with a few minor mods.

I changed it to say this, I hope you are fine with that:

"Recreate journal for RAID-4/5/6 array that lost a journal device. In the
current implementation, this command cannot add a journal to an array
that had a failed journal. To avoid interrupting on-going write
opertions, "

If I botched it up please let me know.

Jes


>
> diff --git a/mdadm.8.in b/mdadm.8.in
> index 1a04bd1..a335c53 100644
> --- a/mdadm.8.in
> +++ b/mdadm.8.in
> @@ -1444,6 +1444,14 @@ number. The receiving node must acknowledge this message
>  with \-\-cluster\-confirm. Valid arguments are <slot>:<devicename> in case
>  the device is found or <slot>:missing in case the device is not found.
>  
> +.TP
> +.BR \-\-add-journal
> +Recreate journal for RAID-4/5/6 array that losts journal devices. In current
> +implementation, this command cannot add journal to an array that had failed
> +journal. To avoid interrupting on-going write opertions,
> +.B \-\-add-journal
> +only works for array in Read-Only state.
> +
>  .P
>  Each of these options requires that the first device listed is the array
>  to be acted upon, and the remainder are component devices to be added,

  reply	other threads:[~2016-08-12 14:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12  0:10 [PATCH] mdadm: add man page for --add-journal Song Liu
2016-08-12 14:58 ` Jes Sorensen [this message]
2016-08-13  5:13   ` Adam Goryachev
2016-08-15 14:42     ` Jes Sorensen
2016-08-15 17:16       ` Song Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wrfjshua825o.fsf@redhat.com \
    --to=jes.sorensen@redhat.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=shli@fb.com \
    --cc=songliubraving@fb.com \
    --cc=yizhan@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox