All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
To: Alasdair Kergon <agk@redhat.com>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: [PATCH 5/5] dm-mpath: convert to request-based
Date: Fri, 28 Aug 2009 14:00:29 +0900	[thread overview]
Message-ID: <4A97646D.1000201@ct.jp.nec.com> (raw)
In-Reply-To: <20090827175419.GQ643@agk-dp.fab.redhat.com>

Hi Alasdair,

On 08/28/2009 02:54 AM +0900, Alasdair G Kergon wrote:
> On Tue, Jun 02, 2009 at 04:03:25PM +0900, Kiyoshi Ueda wrote:
>> This patch converts dm-multipath target to request-based from bio-based.
>  
> How much effort would it be to retain the old mpath implementation
> in parallel?
> 
> I'm rather concerned that we're losing some useful functionality in
> 2.6.31 with this patch - stacking over bio-based devices (test beds use
> this and it's helpful for debugging), barrier support - and supporting
> both would make it easier for people to compare the two implementations
> and stick to the old one if in their particular circumstances it worked
> better.
> 
> Perhaps, dm-mpath could just register two targets (like snapshot does),
> one bio-based, and one rq-based, sharing most of the functions with
> wrappers to indicate which is which where necessary?

Such wrappers need to be made very well to share codes as much as
possible.  Otherwise, we won't be able to maintain the non-default
(bio-based?) code, then people won't be able to use it even for
testing/debugging.
Also we need to consider the user interface so that user-space tools
won't be confused.

I'll look into this when I finish the barrier implementation of
request-based dm. (hopefully 2.6.32 timeframe, maybe 2.6.33)

By the way, only for testing/debugging purposes, making request-based
error/linear targets (e.g. named like error_rq/linear_rq) may be an
alternative.

What do you think?

Thanks,
Kiyoshi Ueda

  reply	other threads:[~2009-08-28  5:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02  6:57 [PATCH 0/5] request-based dm-multipath (v3) Kiyoshi Ueda
2009-06-02  6:59 ` [PATCH 1/5] dm core: add core functions for request-based dm Kiyoshi Ueda
2009-06-02  7:01 ` [PATCH 2/5] dm core: enable " Kiyoshi Ueda
2009-06-02  7:01 ` [PATCH 3/5] dm core: don't set QUEUE_ORDERED_DRAIN for " Kiyoshi Ueda
2009-06-02  7:02 ` [PATCH 4/5] dm core: disable interrupt when taking map_lock Kiyoshi Ueda
2009-06-02  7:03 ` [PATCH 5/5] dm-mpath: convert to request-based Kiyoshi Ueda
2009-08-27 17:54   ` Alasdair G Kergon
2009-08-28  5:00     ` Kiyoshi Ueda [this message]
2009-08-28 13:36       ` Mike Snitzer
2009-08-29 18:23         ` Mike Snitzer
2009-11-12 10:08       ` reinstate bio-based dm-multipath? (Was: dm-mpath: convert to request-based) Kiyoshi Ueda

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=4A97646D.1000201@ct.jp.nec.com \
    --to=k-ueda@ct.jp.nec.com \
    --cc=agk@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.