From: Hannes Reinecke <hare@suse.de>
To: sekharan@linux.vnet.ibm.com
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: [RESEND] [PATCH] Use Average path priority value for path switching
Date: Fri, 31 Jul 2009 08:06:17 +0200 [thread overview]
Message-ID: <4A7289D9.8000208@suse.de> (raw)
In-Reply-To: <1248984835.18243.5.camel@chandra-ubuntu>
Chandra Seetharaman wrote:
> Hi Christophe,
>
> I submitted this patch on Jul 2
> (http://marc.info/?l=dm-devel&m=124658334721911&w=2). Resending it.
>
> Only change is a field name from up_paths to enabled_paths.
>
> Hi Hannes,
>
> Need an ACK from you :-).
>
> regards,
>
> chandra
>
> -----------------------------------------------------------------------
> Failback happens only when the sum of priorities of all paths
> (on the higher priority path group) is greater than the sum
> of priorities of all paths on the lower priority path group.
>
> This leads into problems when there are more than one paths
> in each of the path groups, and the sum of all paths in the
> lower priority path group is greater than that of path priority
> of a single high priority path.
>
> This patch fixes the problem by using average priority of
> the path group to decide on which path group to switch over.
>
> Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Thanks for this, Chandra.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
prev parent reply other threads:[~2009-07-31 6:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-03 1:11 [PATCH] Use Average path priority value for path switching Chandra Seetharaman
2009-07-03 6:40 ` Hannes Reinecke
2009-07-06 18:17 ` Chandra Seetharaman
2009-07-30 20:13 ` [RESEND] " Chandra Seetharaman
2009-07-31 6:06 ` Hannes Reinecke [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=4A7289D9.8000208@suse.de \
--to=hare@suse.de \
--cc=dm-devel@redhat.com \
--cc=sekharan@linux.vnet.ibm.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