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 00/11] Degradation during reshape
Date: Tue, 6 Dec 2011 11:53:38 +1100 [thread overview]
Message-ID: <20111206115338.2032996c@notabene.brown> (raw)
In-Reply-To: <20111124121516.5254.48774.stgit@gklab-128-013.igk.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2512 bytes --]
On Thu, 24 Nov 2011 13:17:10 +0100 Adam Kwolek <adam.kwolek@intel.com> wrote:
> The following series implements support for array degradation during reshape.
>
> Series mostly fixes problems in handling degradation during reshape
> in imsm metadata .
>
> Main common problem that last patch resolves is is lack of BBM support.
> md on disk failure reports BBM event to user space and waits for an answer.
> The side effect of this action is stopping reshape process. The last patch
> /together with md patch sent separately/ allows for disabling BBM mechanism.
> This is similar as native metadata v0.9 works.
>
> BR
> Adam
>
>
Sorry for the long delay in getting to these - I've been busy :-(
>
> Adam Kwolek (11):
> Disable BBM when it is not supported
Not applied as discussed separately. I'll follow up on this issue separately.
> imsm: FIX: Check maximum allowed degradation level in recover_backup_imsm()
> imsm: FIX: Check maximum allowed degradation level in open_backup_targets()
> imsm: FIX: Function rework - imsm_count_failed()
These 3 applied.
> imsm: FIX: Manage second map state on array degradation
I've applied this, but I don't like the fact that you have used '2' and '4'
for MAP_0 and MAP_1.
I see that you use '&' to test a bit and you wanted separate bits, but I
don't see any place where "look_in_map" could have multiple bits set.
So why not MAP_0==0 and MAP_1==1 and use e.g. "look_in_map == MAP_0".
I'm quite happy with defining the symbolic named (MAP_0 and MAP_1),
just confused by the values chosen.
Could you please explain the logic, or fix it up with a new patch? Thanks.
> imsm: FIX: Restore critical section on degraded array
> imsm: FIX: Remove single map state limitation in getinfo
> imsm: FIX: Finalize degraded migration
> imsm: FIX: Do not end migration when missing drive is handled
These 4 applied.
> imsm: FIX: Mark both maps on degradation while migrating
applied, but I think mark_failure might still be wrong.
What if the device that fails is in MAP_1 but not in MAP_0? I don't think it
gets marked as failed in that case.
> imsm: FIX: Return longer map for failure setting
I changed the type of 'map2' from 'void *' to 'struct imsm_map *', and applied the result.
Thanks.
BTW if you want these in SLES11-SP2 I'll need a request through bugzilla.
Just one is enough, not one for every patch.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2011-12-06 0:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-24 12:17 [PATCH 00/11] Degradation during reshape Adam Kwolek
2011-11-24 12:17 ` [PATCH 01/11] imsm: FIX: Return longer map for failure setting Adam Kwolek
2011-11-30 2:30 ` Dan Williams
2011-11-30 7:56 ` Kwolek, Adam
2011-11-30 15:37 ` Williams, Dan J
2011-12-01 7:54 ` Kwolek, Adam
2011-11-24 12:17 ` [PATCH 02/11] imsm: FIX: Mark both maps on degradation while migrating Adam Kwolek
2011-11-24 12:17 ` [PATCH 03/11] imsm: FIX: Do not end migration when missing drive is handled Adam Kwolek
2011-11-24 12:17 ` [PATCH 04/11] imsm: FIX: Finalize degraded migration Adam Kwolek
2011-11-24 12:17 ` [PATCH 05/11] imsm: FIX: Remove single map state limitation in getinfo Adam Kwolek
2011-11-24 12:17 ` [PATCH 06/11] imsm: FIX: Restore critical section on degraded array Adam Kwolek
2011-11-24 12:18 ` [PATCH 07/11] imsm: FIX: Manage second map state on array degradation Adam Kwolek
2011-11-24 12:18 ` [PATCH 08/11] imsm: FIX: Function rework - imsm_count_failed() Adam Kwolek
2011-11-24 12:18 ` [PATCH 09/11] imsm: FIX: Check maximum allowed degradation level in open_backup_targets() Adam Kwolek
2011-11-24 12:18 ` [PATCH 10/11] imsm: FIX: Check maximum allowed degradation level in recover_backup_imsm() Adam Kwolek
2011-11-24 12:18 ` [PATCH 11/11] Disable BBM when it is not supported Adam Kwolek
2011-12-06 0:53 ` NeilBrown [this message]
2011-12-06 8:03 ` [PATCH 00/11] Degradation during reshape 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=20111206115338.2032996c@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).