All of lore.kernel.org
 help / color / mirror / Atom feed
From: shane bradley <sbradley@redhat.com>
To: dm-devel@redhat.com
Subject: multipath.conf and polling_interval option seems misleading
Date: Fri, 16 Jan 2009 11:03:04 -0500	[thread overview]
Message-ID: <4970AFB8.6090906@redhat.com> (raw)

After reviewing the code and doing some testing I have noticed that 
polling_interval did not work as expected.
I had reviewed the description of the option for multipath.conf and it 
conflicted with the results that I had got
testing device-mapper-multipath on RHEL4/RHEL5.

$ cat /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.annotated
#       # name    : polling_interval
#       # scope   : multipathd
#       # desc    : interval between two path checks in seconds
#       # default : 5
#       #
#       polling_interval 10

---------

The behaviour that I had expected based on the option's description above:
check path 1
wait polling_interval
check path 2
wait polling_interval
check path 1
wait polling_interval
check path 2
wait polling_interval

However after testing the results that I got was(with multipathd -v4):
example:
check path 1
check path 2
wait polling_interval
check path 1
check path 2
wait polling_interval

---------

The behaviour I seen in RHEL4 and RHEL5 was working as design after
reviewing the code and talking to a couple engineers.

The problem it seems is how I was reading the description of the option.
 From my results in testing and talking with some engineers the 
"polling_interval" option actually means:

"The interval between checking all possible paths for all multipath paths"
----------

1) Is my assumption correct that "polling_interval" actually means:
"The interval between checking all possible paths for all multipath paths"

2) What is a better way to describe the "polling_interval" option?

3) Shouldn't we make it clearer for people who don't that that much 
experience with multipathing?

--sbradley

             reply	other threads:[~2009-01-16 16:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-16 16:03 shane bradley [this message]
2009-01-16 16:10 ` multipath.conf and polling_interval option seems misleading Chandra Seetharaman
2009-01-16 16:13   ` Bryn M. Reeves
2009-01-16 18:34     ` Chandra Seetharaman
2009-01-16 16:21   ` shane bradley
2009-01-29 16:21     ` shane bradley
2009-01-29 16:44       ` Bryn M. Reeves

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=4970AFB8.6090906@redhat.com \
    --to=sbradley@redhat.com \
    --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.