From: NeilBrown <neilb@suse.de>
To: Adam Kwolek <adam.kwolek@intel.com>
Cc: linux-raid@vger.kernel.org, dan.j.williams@intel.com,
ed.ciechanowski@intel.com, wojciech.neubauer@intel.com
Subject: Re: [PATCH 0/5] Grow_continue() prepare for usage in assembly
Date: Wed, 2 Mar 2011 11:57:34 +1100 [thread overview]
Message-ID: <20110302115734.63b76660@notabene.brown> (raw)
In-Reply-To: <20110228145815.14670.56597.stgit@gklab-128-013.igk.intel.com>
On Mon, 28 Feb 2011 16:06:55 +0100 Adam Kwolek <adam.kwolek@intel.com> wrote:
> This is first part of reshape continuation. This patch series makes (mainly) some changes to Grow_continue()
> for use for reshape continuation during array assembling.
>
> It runs reshape_array() in background (for container operation it should be also ok, as we can have only one
> metadata marked for reshape at the time).
This is the 4th patch I assume...
That fork should not be needed. We pass '0' as the 'forked' parameter to
'reshape_array', so reshape_array will fork and continue in the background.
Why does Grow_continue need to fork as well??
> For external metadata reshape_array requires container name parameter.
Yep.
>
> For reshape invoked from assembly reshape_array cannot start reshape (this would push md to call i.e. start_reshape
> vector from personality). Staring reshape is based on run() mechanism in md so reshape_array should not configure or start reshape.
I think you just need to change the call:
- err = start_reshape(sra, (info->reshape_active && !st->ss->external));
to
+ err = start_reshape(sra, info->reshape_active);
to fix that, don't you?
> It should monitor check-pointing only.
>
>
> BR
> Adam
>
>
> ---
>
> Adam Kwolek (5):
> FIX: Do not configure and start, already started reshape
> FIX: Continue reshape in the background
The above 2 I have not applied.
> FIX: Set readonly state in Grow_continue() when necessary
> FIX: Pass container name to reshape array for external meta data
> FIX: Spelling error in dprintf output
There 3 I have applied.
Thanks,
NeilBrown
>
>
> Grow.c | 53 ++++++++++++++++++++++++++++++++++++++++-------------
> 1 files changed, 40 insertions(+), 13 deletions(-)
>
next prev parent reply other threads:[~2011-03-02 0:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 15:06 [PATCH 0/5] Grow_continue() prepare for usage in assembly Adam Kwolek
2011-02-28 15:07 ` [PATCH 1/5] FIX: Spelling error in dprintf output Adam Kwolek
2011-02-28 15:07 ` [PATCH 2/5] FIX: Pass container name to reshape array for external meta data Adam Kwolek
2011-02-28 15:07 ` [PATCH 3/5] FIX: Set readonly state in Grow_continue() when necessary Adam Kwolek
2011-02-28 15:07 ` [PATCH 4/5] FIX: Continue reshape in the background Adam Kwolek
2011-02-28 15:07 ` [PATCH 5/5] FIX: Do not configure and start, already started reshape Adam Kwolek
2011-03-02 0:57 ` NeilBrown [this message]
2011-03-02 7:37 ` [PATCH 0/5] Grow_continue() prepare for usage in assembly Kwolek, Adam
2011-03-02 8:43 ` Kwolek, Adam
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=20110302115734.63b76660@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=wojciech.neubauer@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).