All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: sekharan@linux.vnet.ibm.com
Cc: Mike Anderson <andmike@us.ibm.com>,
	dm-devel <dm-devel@redhat.com>,
	Alasdair G Kergon <agk@redhat.com>,
	"Moger, Babu" <Babu.Moger@lsi.com>
Subject: Re: [PATCH] Handle multipath paths in a path group properly during pg_init
Date: Tue, 31 Mar 2009 08:33:35 +0200	[thread overview]
Message-ID: <49D1B93F.6020900@suse.de> (raw)
In-Reply-To: <1238436452.5858.2.camel@chandra-ubuntu>

Chandra Seetharaman wrote:
> Resending the patch to get in patchwork...
> -------
> The problem reported by Moger Babu was caused due to the architectural
> change made when we moved from dm hardware handler to SCSI hardware
> handler.
> 
> Thanks Babu for finding and reporting the bug.
> 
> All of the hardware handlers, do have a state now, and they are set to
> active and (some form of) inactive. All of them have prep_fn, which use
> this "state" to fail the I/O without it ever being sent to the device.
> 
> As Babu has noted in his email, the pg_init/activate is sent on only one
> path and the "state" of that path is changed appropriately to "active"
> while other paths in the same path group are never changed as they never
> got an "activate".
> 
> Attached is a patch (compiled, tested, but not clean yet), which makes
> changes in the dm-multipath layer to send an "activate" on each paths in
> the path groups.
> 
> Mike (Anderson) and I had a discussion about whether to implement this
> in the dm-mulitpath layer or in the SCSI hardware handler layer and we
> came to a conclusion that it is best suited to be in the dm-mulitpath
> layer as it is the one that knows the relationship between different
> paths.
> 
> If it were to be done at the Hardware handler layer, then the hardware
> handler may end up having a different notion of the path relationship
> and hence may not work as expected by the dm-multipath layer.
> 
> This patch has been tested by Hannes in EMC storage. Babu and I tested it
> in LSI storage.
> ----------
> 
> Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
> 
Acked-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

  parent reply	other threads:[~2009-03-31  6:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-30 18:07 [PATCH] Handle multipath paths in a path group properly during pg_init Chandra Seetharaman
2009-03-30 22:14 ` Moger, Babu
2009-03-31  6:33 ` Hannes Reinecke [this message]
2009-04-27 22:48 ` Chandra Seetharaman
2009-04-28  6:30   ` Hannes Reinecke
2009-04-28 19:31   ` Chandra Seetharaman
2009-06-06  0:04     ` Chandra Seetharaman
2009-06-15 22:16       ` 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=49D1B93F.6020900@suse.de \
    --to=hare@suse.de \
    --cc=Babu.Moger@lsi.com \
    --cc=agk@redhat.com \
    --cc=andmike@us.ibm.com \
    --cc=dm-devel@redhat.com \
    --cc=sekharan@linux.vnet.ibm.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.