From: NeilBrown <neilb@suse.de>
To: "Czarnowska, Anna" <anna.czarnowska@intel.com>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: [PATCH] imsm: fix: thunderdome may drop 2tb attribute
Date: Mon, 30 Apr 2012 09:58:13 +1000 [thread overview]
Message-ID: <20120430095813.084aeca6@notabene.brown> (raw)
In-Reply-To: <3F8F31A3BFD1664EAB894D1BD6AF32B918A390A8@IRSMSX102.ger.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2134 bytes --]
On Fri, 27 Apr 2012 08:58:14 +0000 "Czarnowska, Anna"
<anna.czarnowska@intel.com> wrote:
> Hi Neil,
> this patch is quite important. It seems to have been overlooked
Yes I had over-looked it. Thanks for the reminder. It is applied now.
NeilBrown
> Regards
> Anna
>
> > -----Original Message-----
> > From: linux-raid-owner@vger.kernel.org [mailto:linux-raid-
> > owner@vger.kernel.org] On Behalf Of Czarnowska, Anna
> > Sent: Monday, April 02, 2012 10:59 PM
> > To: NeilBrown
> > Cc: linux-raid@vger.kernel.org; Williams, Dan J; Ciechanowski, Ed;
> > Grabowski, Grzegorz
> > Subject: [PATCH] imsm: fix: thunderdome may drop 2tb attribute
> >
> > Spare superblock doesn't depend on other spares in container.
> > When loading container metadata thunderdome
> > may pick a small disk for the champion. This will result in incorrect
> > interpretation of sizes of other disks in container when joint
> > superblock
> > is returned. If any disk in container has the 2TB attribute set, the
> > result
> > must have it set too.
> >
> > Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
> > ---
> > super-intel.c | 2 ++
> > 1 files changed, 2 insertions(+), 0 deletions(-)
> >
> > diff --git a/super-intel.c b/super-intel.c
> > index ed13542..869a39c 100644
> > --- a/super-intel.c
> > +++ b/super-intel.c
> > @@ -4079,6 +4079,8 @@ imsm_thunderdome(struct intel_super **super_list,
> > int len)
> > if (s == champion)
> > continue;
> >
> > + mpb->attributes |= s->anchor->attributes &
> > MPB_ATTRIB_2TB_DISK;
> > +
> > for (i = 0; i < mpb->num_disks; i++) {
> > struct imsm_disk *disk;
> >
> > --
> > 1.6.4.2
> >
> > --
> > 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
> --
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
prev parent reply other threads:[~2012-04-29 23:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-02 20:59 [PATCH] imsm: fix: thunderdome may drop 2tb attribute Czarnowska, Anna
2012-04-27 8:58 ` Czarnowska, Anna
2012-04-29 23:58 ` 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=20120430095813.084aeca6@notabene.brown \
--to=neilb@suse.de \
--cc=anna.czarnowska@intel.com \
--cc=linux-raid@vger.kernel.org \
/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).