All of lore.kernel.org
 help / color / mirror / Atom feed
* no_path_retry: NO_PATH_RETRY_FAIL vs NO_PATH_RETRY_UNDEF
@ 2016-11-07 16:11 Xose Vazquez Perez
  2016-11-07 18:55 ` Benjamin Marzinski
  0 siblings, 1 reply; 2+ messages in thread
From: Xose Vazquez Perez @ 2016-11-07 16:11 UTC (permalink / raw)
  To: Kiyoshi Ueda, Christophe Varoqui, Benjamin Marzinski, Hannes Reinecke
  Cc: device-mapper development

Hi,


NO_PATH_RETRY_UNDEF is 0


no_path_retry    Specify what to do when all paths are down. Possible values are:

                    value > 0   number of retries until disable I/O queueing.

                    fail        for immediate failure (no I/O queueing).

                    queue       for never stop I/O queueing. Similar to queue_if_no_path.



Is there any real difference?


Thank you.

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

* Re: no_path_retry: NO_PATH_RETRY_FAIL vs NO_PATH_RETRY_UNDEF
  2016-11-07 16:11 no_path_retry: NO_PATH_RETRY_FAIL vs NO_PATH_RETRY_UNDEF Xose Vazquez Perez
@ 2016-11-07 18:55 ` Benjamin Marzinski
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Marzinski @ 2016-11-07 18:55 UTC (permalink / raw)
  To: Xose Vazquez Perez; +Cc: Kiyoshi Ueda, device-mapper development

On Mon, Nov 07, 2016 at 05:11:33PM +0100, Xose Vazquez Perez wrote:
> Hi,
> 
> 
> NO_PATH_RETRY_UNDEF is 0
> 
> 
> no_path_retry    Specify what to do when all paths are down. Possible values are:
> 
>                     value > 0   number of retries until disable I/O queueing.
> 
>                     fail        for immediate failure (no I/O queueing).
> 
>                     queue       for never stop I/O queueing. Similar to queue_if_no_path.
> 
> 
> 
> Is there any real difference?

The idea was that if you have NO_PATH_RETRY_UNDEF, then you just use
whatever is in the features line. If you have NO_PATH_RETRY_FAIL, that
takes priority over the features line.

So if someone has

features "1 queue_if_no_path"

then NO_PATH_RETRY_UNDEF gets you the same results as
NO_PATH_RETRY_QUEUE.

-Ben

> 
> 
> Thank you.

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

end of thread, other threads:[~2016-11-07 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07 16:11 no_path_retry: NO_PATH_RETRY_FAIL vs NO_PATH_RETRY_UNDEF Xose Vazquez Perez
2016-11-07 18:55 ` Benjamin Marzinski

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.