From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xose Vazquez Perez Subject: Re: [PATCH] multipath: update netapp config Date: Thu, 10 Jan 2013 19:07:31 +0100 Message-ID: <50EF0363.5090404@gmail.com> References: <20130108054443.GZ19059@ether.msp.redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130108054443.GZ19059@ether.msp.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development Cc: Christophe Varoqui List-Id: dm-devel.ids On 01/08/2013 06:44 AM, Benjamin Marzinski wrote: > The netapp config now used the retain_attached_hwhandler and > detect_prio options to automatically configure correctly for both ALUA and > non-ALUA setups. NetApp also requested that dev_loss_tmo be set to > the maximum for netapp devices. > > Signed-off-by: Benjamin Marzinski > --- > libmultipath/hwtable.c | 3 +++ > 1 file changed, 3 insertions(+) > > Index: multipath-tools-120821/libmultipath/hwtable.c > =================================================================== > --- multipath-tools-120821.orig/libmultipath/hwtable.c > +++ multipath-tools-120821/libmultipath/hwtable.c > @@ -871,9 +871,12 @@ static struct hwentry default_hw[] = { > .rr_weight = RR_WEIGHT_NONE, > .no_path_retry = NO_PATH_RETRY_UNDEF, > .minio = 128, > + .dev_loss = MAX_DEV_LOSS_TMO, > .checker_name = TUR, > .prio_name = PRIO_ONTAP, > .prio_args = NULL, > + .retain_hwhandler = RETAIN_HWHANDLER_ON, > + .detect_prio = DETECT_PRIO_ON, > }, > /* > * NEXENTA/COMSTAR controller family > ditto.