From: NeilBrown <neilb@suse.de>
To: "Czarnowska, Anna" <anna.czarnowska@intel.com>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>,
"Williams, Dan J" <dan.j.williams@intel.com>,
"Ciechanowski, Ed" <ed.ciechanowski@intel.com>,
"Neubauer, Wojciech" <Wojciech.Neubauer@intel.com>
Subject: Re: [PATCH] set default chunk in validate_geometry
Date: Tue, 22 Feb 2011 11:25:28 +1100 [thread overview]
Message-ID: <20110222112528.074589d5@notabene.brown> (raw)
In-Reply-To: <A9DE54D0CD747C4CB06DCE5B6FA2246F011197D8D5@irsmsx504.ger.corp.intel.com>
On Mon, 21 Feb 2011 10:09:37 +0000 "Czarnowska, Anna"
<anna.czarnowska@intel.com> wrote:
> >From 33fa2700b9911b0815112b223a4df7b1f1716659 Mon Sep 17 00:00:00 2001
> From: Anna Czarnowska <anna.czarnowska@intel.com>
> Date: Mon, 21 Feb 2011 10:24:26 +0100
> Subject: [PATCH] set default chunk in validate_geometry
> Cc: linux-raid@vger.kernel.org, Williams, Dan J <dan.j.williams@intel.com>, Ciechanowski, Ed <ed.ciechanowski@intel.com>
>
> When chunk size is not set from command line we need to guess it
> depending on metadata given on command line or found on listed devices.
>
> Validate_geometry sets the default for it's metadata if chunk is not set.
> For external metadata chunk is set only when creating in a container.
> For imsm validate_geometry_imsm_orom is responsible for finding default
> chunk depending on container metadata loaded. Container will already know
> which controller it is attached to, and have this controllers orom
> available.
> do_default_chunk indicates that we need to find default chunk and
> if validate_geometry fails for some metadata it tells us to reset chunk
> that may have been set.
>
> Current solution would set default chunk correctly for imsm only if
> container device was given on command line. With the list of devices
> chunk was always set to 512.
>
> Signed-off-by: Anna Czarnowska <anna.czarnowska@intel.com>
Thanks for this Anna.
Applied.
NeilBrown
prev parent reply other threads:[~2011-02-22 0:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-21 10:09 [PATCH] set default chunk in validate_geometry Czarnowska, Anna
2011-02-22 0:25 ` 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=20110222112528.074589d5@notabene.brown \
--to=neilb@suse.de \
--cc=Wojciech.Neubauer@intel.com \
--cc=anna.czarnowska@intel.com \
--cc=dan.j.williams@intel.com \
--cc=ed.ciechanowski@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).