From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Herbszt Subject: Re: [PATCH 06/57] Use ALUA for HP 3PAR Date: Fri, 29 Apr 2016 00:25:24 +0200 Message-ID: <20160429002524.00006f73@localhost> References: <1461755458-29225-1-git-send-email-hare@suse.de> <1461755458-29225-7-git-send-email-hare@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1461755458-29225-7-git-send-email-hare@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Hannes Reinecke Cc: dm-devel@redhat.com, Sebastian Herbszt , Mike Snitzer , Christophe Varoqui List-Id: dm-devel.ids Hannes Reinecke wrote: > Signed-off-by: Hannes Reinecke > --- > libmultipath/hwtable.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) You missed to also change multipath.conf.defaults. > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c > index 28ee595..4549268 100644 > --- a/libmultipath/hwtable.c > +++ b/libmultipath/hwtable.c > @@ -65,13 +65,13 @@ static struct hwentry default_hw[] = { > .vendor = "3PARdata", > .product = "VV", > .features = DEFAULT_FEATURES, > - .hwhandler = DEFAULT_HWHANDLER, > - .pgpolicy = MULTIBUS, > - .pgfailback = FAILBACK_UNDEF, > + .hwhandler = "1 alua", > + .pgpolicy = GROUP_BY_PRIO, > + .pgfailback = -FAILBACK_IMMEDIATE, > .rr_weight = RR_WEIGHT_NONE, > - .no_path_retry = NO_PATH_RETRY_UNDEF, > - .checker_name = DEFAULT_CHECKER, > - .prio_name = DEFAULT_PRIO, > + .no_path_retry = 18, > + .checker_name = TUR, > + .prio_name = PRIO_ALUA, > .prio_args = NULL, > }, > { Can you please elaborate on this? I think the correct setting depends on the configured "host persona". Currently the expected value would be "Generic / 1". The patch changes it to "Generic-ALUA / 2". Does the above change still work if the "host persona" is not modified and still set to "Generic / 1"? Sebastian