From: NeilBrown <neilb@suse.de>
To: Adam Kwolek <adam.kwolek@intel.com>
Cc: linux-raid@vger.kernel.org, ed.ciechanowski@intel.com,
marcin.labun@intel.com, dan.j.williams@intel.com
Subject: Re: [PATCH 2/3] Monitor reshaped array
Date: Wed, 5 Oct 2011 13:59:56 +1100 [thread overview]
Message-ID: <20111005135956.34bf4620@notabene.brown> (raw)
In-Reply-To: <20111004155356.27434.65439.stgit@gklab-128-013.igk.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
On Tue, 04 Oct 2011 17:53:56 +0200 Adam Kwolek <adam.kwolek@intel.com> wrote:
> Reshape can be run for monitored arrays only /external metadata case/.
> Before reshape can be executed, make sure that just starter array/container
> is monitored. If not, run mdmon for it.
>
> Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
> ---
>
> Assemble.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/Assemble.c b/Assemble.c
> index 0d3730b..2000dd0 100644
> --- a/Assemble.c
> +++ b/Assemble.c
> @@ -1570,6 +1570,12 @@ int assemble_container_content(struct supertype *st, int mdfd,
> if (err)
> return 1;
>
> + if (st->ss->external) {
> + if (!mdmon_running(st->container_dev))
> + start_mdmon(st->container_dev);
> + ping_monitor_by_id(st->container_dev);
> + }
> +
> err = Grow_continue(mdfd, st, content, backup_file,
> freeze_reshape);
> } else switch(content->array.level) {
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Applied, thanks.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2011-10-05 2:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-04 15:53 [PATCH 0/3] Reshape restart after file system pivot (missing part) Adam Kwolek
2011-10-04 15:53 ` [PATCH 1/3] Always run Grow_continue() for started array Adam Kwolek
2011-10-05 2:59 ` NeilBrown
2011-10-05 7:04 ` Kwolek, Adam
2011-10-06 4:00 ` NeilBrown
2011-10-04 15:53 ` [PATCH 2/3] Monitor reshaped array Adam Kwolek
2011-10-05 2:59 ` NeilBrown [this message]
2011-10-04 15:54 ` [PATCH 3/3] Set correct reshape restart position Adam Kwolek
2011-10-05 3:17 ` NeilBrown
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=20111005135956.34bf4620@notabene.brown \
--to=neilb@suse.de \
--cc=adam.kwolek@intel.com \
--cc=dan.j.williams@intel.com \
--cc=ed.ciechanowski@intel.com \
--cc=linux-raid@vger.kernel.org \
--cc=marcin.labun@intel.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;
as well as URLs for NNTP newsgroup(s).