[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] Re: [RESEND] [PATCH] Use Average path priority value for path switching



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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]