On 07/31/2017 01:38 PM, Xose Vazquez Perez wrote: > From: Benjamin Marzinski <bmarzins@xxxxxxxxxx>> > This updated config comes from hp. > > Here I what I got from HP: > Patch missing in last merge. > ******** > > We will be changing the recommendation in the next version of the 3PAR > Implementation Guide. I am the owner for these guides. > > The reason we want the dev_loss_tmo "infinity" is to help in a feature > called Peer Persistence where on primary array power fails and the > device on the remote array (standby array) becomes active. The standby > state of the device paths will automatically change to active state if > the underlying device instances exist so we need infinity setting. > > The fast_io_fail_tmo we want to be bumped from 5 to 10 so that it allows > a array feature called persistent port to work well where we want the > want the array path going away failure transient state to be held for > the longer time in the SCSI and FC OS layers (I/O retry) without > multipath reacting to it which allows the array to move the physical > port flogi instance on the switch to move to partner physical port as an > NPIV Port when the array node goes down. Complete details in this PDF > > https://www.hpe.com/h20195/v2/GetPDF.aspx/4AA4-4545ENW.pdf > > ******* > > Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx> > Cc: device-mapper development <dm-devel@xxxxxxxxxx> > Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> > Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx> > --- > libmultipath/hwtable.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c > index c2ed171..9e14ec1 100644 > --- a/libmultipath/hwtable.c > +++ b/libmultipath/hwtable.c > @@ -98,6 +98,8 @@ static struct hwentry default_hw[] = { > .hwhandler = "1 alua", > .prio_name = PRIO_ALUA, > .no_path_retry = 18, > + .fast_io_fail = 10, > + .dev_loss = MAX_DEV_LOSS_TMO, > }, > { > /* RA8000 / ESA12000 */ > -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel