From: Mike Anderson <andmike@linux.vnet.ibm.com>
To: "Moger, Babu" <Babu.Moger@lsi.com>
Cc: "dm-devel@redhat.com" <dm-devel@redhat.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 0/2] dm: Add no_abort_q feature flag to dm-mpath
Date: Wed, 5 May 2010 18:39:17 -0700 [thread overview]
Message-ID: <20100506013917.GA9298@linux.vnet.ibm.com> (raw)
In-Reply-To: <E463DF2B2E584B4A82673F53D62C2EF498E060CB@cosmail01.lsi.com>
Moger, Babu <Babu.Moger@lsi.com> wrote:
> > -----Original Message-----
> > From: linux-scsi-owner@vger.kernel.org [mailto:linux-scsi-
> > owner@vger.kernel.org] On Behalf Of Mike Anderson
> > Sent: Monday, May 03, 2010 11:01 PM
> > To: dm-devel@redhat.com
> > Cc: linux-scsi@vger.kernel.org
> > Subject: [PATCH 0/2] dm: Add no_abort_q feature flag to dm-mpath
> >
> > This patch series contains two patches.
> >
> > 1.) The first patch adds a feature flags bit field to the multipath
> > structure for selected features.
> >
> > 2.) The second patch allows a user to set a feature flag for a dm-mpath
> > device of "no_abort_q" to indicate that deactivate_path should not call
> > blk_abort_queue. I tried to select a short feature name to feature
> > output
> > listed with multipath -l would not be too long "features='2
> > queue_if_no_path
> > no_abort_q'
>
> Mike,
> In what special circumstances you recommend to use this feature? It would be great if you could add that explanation in your patch descriptions.
Yes I will update the descriptions.
To answer your question in general it would be circumstance where the
block_abort_queue during failover is leading to longer recovery instead of
shorter. This could be because of aborting / transport / device
interactions (the work by others in the iSCSI and FC transports have made
things better here).
While there are case where abort makes a big difference (being able to
failover in less than max_retries * IO timeout value). The latency numbers
for simple RDAC initiator failover show only small improvements on my
configurations (others may have better data). A assumption would be that
there could be combinations of transports and devices out there where this
might not give the fastest failover so the user may want control.
On a historically note the call to block_abort_queue came in somewhat
sideways by me linked to the timeout movement from SCSI to blk so it could
have integrated better. I should have had a way to disable / enable it
then and I am trying to provide that now so that the user has some
control.
-andmike
--
Michael Anderson
andmike@linux.vnet.ibm.com
next prev parent reply other threads:[~2010-05-06 1:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-04 4:01 [PATCH 0/2] dm: Add no_abort_q feature flag to dm-mpath Mike Anderson
2010-05-04 4:01 ` [PATCH 1/2] dm: Add feature flags " Mike Anderson
2010-05-05 20:01 ` Mike Snitzer
2010-05-05 23:04 ` [dm-devel] " Mike Anderson
2010-05-04 4:01 ` [PATCH 2/2] dm: Add feature flag to control call to blk_abort_queue Mike Anderson
2010-05-05 23:19 ` [PATCH 0/2] dm: Add no_abort_q feature flag to dm-mpath Moger, Babu
2010-05-06 1:39 ` Mike Anderson [this message]
2010-05-06 14:38 ` Moger, Babu
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=20100506013917.GA9298@linux.vnet.ibm.com \
--to=andmike@linux.vnet.ibm.com \
--cc=Babu.Moger@lsi.com \
--cc=dm-devel@redhat.com \
--cc=linux-scsi@vger.kernel.org \
/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.