All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ty! Boyack" <ty@nrel.colostate.edu>
To: dm-devel@redhat.com
Subject: What does no_path_retry=NULL mean?
Date: Wed, 03 Dec 2008 12:26:29 -0700	[thread overview]
Message-ID: <4936DD65.9000101@nrel.colostate.edu> (raw)

I've been trying to understand what the default behavior should be if
no_path_retry is not set in the multipath.conf file.  The annotated
version describes (somewhat) what happens with values of queue, fail, or
n>0, but says the default is NULL, and does not say what behavior NULL
produces.

The reason for the question is a situation where a highly-available
iscsi target undergoes failover from one node to another, and the iscsi
initiators see all their multiple paths fail during that transition
time, which takes 5-120 seconds.  I had set no_path_retry to queue,
thinking it would queue until the paths come back, but it seems to stop
checking the path status and queue forever.  Is that expected?  Or 
should no_path_retry=queue stop queuing (but continue checking the 
paths) and send both queued and new requests when the paths are 
available again?  With it set to queue it hangs all I/O requests until I 
restart multipathd, at which point I expect that all queued data is 
lost.  It will stay in the queued state for hours/days even though the 
paths are back if no action is taken.

This is on fedora 9, the default device-mapper-multipath rpm, version
0.4.7, release 16.fc9.  path_checker=readsector0, and poling_interval=10.

Thanks for helping me understand what is happening here.

-Ty!



-- 
-===========================-
  Ty! Boyack
  NREL Unix Network Manager
  ty@nrel.colostate.edu
  (970) 491-1186
-===========================-

             reply	other threads:[~2008-12-03 19:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 19:26 Ty! Boyack [this message]
2008-12-05 15:20 ` What does no_path_retry=NULL mean? Benjamin Marzinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4936DD65.9000101@nrel.colostate.edu \
    --to=ty@nrel.colostate.edu \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.