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] imsm: FIX: indicate that metadada has to be written
Date: Sun, 20 Mar 2011 15:49:16 +1100 [thread overview]
Message-ID: <20110320154916.6aff5cd1@notabene.brown> (raw)
In-Reply-To: <20110318092822.12990.23679.stgit@gklab-128-013.igk.intel.com>
On Fri, 18 Mar 2011 10:28:22 +0100 Adam Kwolek <adam.kwolek@intel.com> wrote:
> During adding spare disks to raid0, spare metadata is not written.
> This is due to exit form sync_metadata() on empty updates_pending flag.
>
> When mdmon is absent indicate sync_metadata() to flush changes to disks.
>
> Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
> ---
>
> super-intel.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/super-intel.c b/super-intel.c
> index 44c100b..acd7571 100644
> --- a/super-intel.c
> +++ b/super-intel.c
> @@ -3838,6 +3838,7 @@ static int add_to_super_imsm(struct supertype *st, mdu_disk_info_t *dk,
> } else {
> dd->next = super->disks;
> super->disks = dd;
> + super->updates_pending++;
> }
>
> return 0;
Applied, thanks.
NeilBrown
prev parent reply other threads:[~2011-03-20 4:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-18 9:28 [PATCH] imsm: FIX: indicate that metadada has to be written Adam Kwolek
2011-03-20 4:49 ` NeilBrown [this message]
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=20110320154916.6aff5cd1@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).