All of lore.kernel.org
 help / color / mirror / Atom feed
* Multipath timeout
@ 2017-03-21 14:48 Isidro Hortelano
  2017-03-26 14:06 ` Martin Wilck
  0 siblings, 1 reply; 2+ messages in thread
From: Isidro Hortelano @ 2017-03-21 14:48 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 1258 bytes --]

Hi list,

I have the current configuration of multipath :

defaults {
         polling_interval      5
         user_friendly_names   yes
         find_multipaths       yes


}

blacklist {
        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
        devnode "^hd[a-z]"
        devnode "^dcssblk[0-9]*"

        device {
                vendor "HP"
                product "LOGICAL VOLUME.*"
        }

        device {
                vendor "DGC"
                product "LUNZ"
        }

}
devices {
             device {
                vendor                  "3PARdata"
                product                 "VV"
                path_grouping_policy group_by_prio
                path_selector "round-robin 0"
                path_checker tur
                features "0"
                hardware_handler "1 alua"
                prio alua
                failback immediate
                rr_weight uniform
                no_path_retry 2
                rr_min_io_rq 1
                detect_prio yes
                fast_io_fail_tmo 10
                dev_loss_tmo 14
        }
}

I have a scsi timeout of 30 sec. by default, with this configuration how
much time does the multipath wait for an answer from a scsi command issued?
Regards,

[-- Attachment #1.2: Type: text/html, Size: 3315 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Multipath timeout
  2017-03-21 14:48 Multipath timeout Isidro Hortelano
@ 2017-03-26 14:06 ` Martin Wilck
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Wilck @ 2017-03-26 14:06 UTC (permalink / raw)
  To: dm-devel, Isidro Hortelano

On Tue, 2017-03-21 at 15:48 +0100, Isidro Hortelano wrote:
> I have a scsi timeout of 30 sec. by default, with this configuration
> how much time does the multipath wait for an answer from a scsi
> command issued?

The SCSI timeout also applies to the TUR commands sent by multipathd,
so that's about the time it would wait, plus/minus a few seconds
(multipathd doesn't try to be accurate). Note that you can set the
"checker_timeout" configuration option to modify the timeout value.

If other ("normal") SCSI commands time out, and the kernel error
handling results in failing the path, multipathd will be notified by an
DM event. But the kernel will not necessarily fail the path immediately
after a command timeout.

Regards
Martin


-- 
Dr. Martin Wilck <mwilck@suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-26 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-21 14:48 Multipath timeout Isidro Hortelano
2017-03-26 14:06 ` Martin Wilck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.