From: Jes Sorensen <Jes.Sorensen@redhat.com>
To: "Kwolek, Adam" <adam.kwolek@intel.com>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>,
"neilb@suse.de" <neilb@suse.de>,
"dledford@redhat.com" <dledford@redhat.com>,
"Dorau, Lukasz" <lukasz.dorau@intel.com>,
"Labun, Marcin" <Marcin.Labun@intel.com>
Subject: Re: [PATCH 0/1] IMSM do not assume prev + current map in same state means reshape
Date: Tue, 18 Oct 2011 09:36:24 +0200 [thread overview]
Message-ID: <4E9D2C78.5030709@redhat.com> (raw)
In-Reply-To: <79556383A0E1384DB3A3903742AAC04A040217@IRSMSX101.ger.corp.intel.com>
On 10/18/11 09:09, Kwolek, Adam wrote:
>
>
>> -----Original Message-----
>> From: Jes.Sorensen@redhat.com [mailto:Jes.Sorensen@redhat.com]
>> I believe there is a bug in the current IMSM code. It makes the assumption
>> that if the state of the previous map and the current map are the same, it
>> means we are trying to reshape the array. However if you have a large array
>> and just installed on it, and it was still resyncing when you rebooted, it will
>> come up in the same state and 'mdadm -Aa' will fail with an error that it is
>> lacking a resync file.
>>
>> This is what prevents an update Fedora 15 system from booting, such as
>> https://bugzilla.redhat.com/show_bug.cgi?id=736387
>>
>> If I am missing something here, I'd appreciate to hear about it.
>>
>> Thanks,
>> Jes
>
>
> Hi,
> There is bug there as you pointed in your email, but it is already fixed in Neil's repository by commit :
> imsm: fix: stopped resync does not continue after auto-assemblation
> b601104eb4a4733a838fb86e9e279fed14ce9d3f
>
> Your patch "IMSM do not assume prev + current map in same state means reshape" can break
> e.g chunk size migration when number of disks doesn't change.
>
> Correct fix is pointed above and it tests migration type.
Interesting, this fix went in just after I started doing my testing so I
don't seem to have it in my tree. Missed it by a day or two :(
I'll refresh and try it out.
Jes
prev parent reply other threads:[~2011-10-18 7:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 20:40 [PATCH 0/1] IMSM do not assume prev + current map in same state means reshape Jes.Sorensen
2011-10-17 20:40 ` [PATCH 1/1] IMSM only run reshape if number of disks has changed Jes.Sorensen
2011-10-18 7:09 ` [PATCH 0/1] IMSM do not assume prev + current map in same state means reshape Kwolek, Adam
2011-10-18 7:36 ` Jes Sorensen [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=4E9D2C78.5030709@redhat.com \
--to=jes.sorensen@redhat.com \
--cc=Marcin.Labun@intel.com \
--cc=adam.kwolek@intel.com \
--cc=dledford@redhat.com \
--cc=linux-raid@vger.kernel.org \
--cc=lukasz.dorau@intel.com \
--cc=neilb@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.