public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Chandra Seetharaman <sekharan@us.ibm.com>
To: Alasdair G Kergon <agk@redhat.com>
Cc: device-mapper development <dm-devel@redhat.com>,
	Mike Anderson <andmike@us.ibm.com>,
	Mike Christie <mchristi@redhat.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	Hannes Reinecke <hare@suse.de>,
	asson_ronald <asson_ronald@emc.com>,
	Levy_Jerome <Levy_Jerome@emc.com>
Subject: Re: [RFC][PATCH] Handle multipath paths in a path group properly during pg_init (was "RE: [dm-devel] DM does not activate the paths if there are more than one path in path group during failover")
Date: Fri, 14 Nov 2008 11:08:48 -0800	[thread overview]
Message-ID: <1226689728.8998.76.camel@chandra-ubuntu> (raw)
In-Reply-To: <20081114001205.GQ30569@agk.fab.redhat.com>


On Fri, 2008-11-14 at 00:12 +0000, Alasdair G Kergon wrote:
> On Thu, Nov 13, 2008 at 03:48:58PM -0800, Chandra Seetharaman wrote:
> > 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.
> 
> pg_init is single initialisation for the group.
> It only needs to happen on one path.

Yes, that was my initial response too.

dm hardware handlers did not maintain a "state" for each path in which
case activating/initializing the controller from one path was sufficient
for all the paths connected to the controller to work as expected.

SCSI Hardware Handlers maintain a "state" for each path, so that they
can fail an I/O at prep_fn, if the path is not an "active" path, which
is what lead to the bug Babu saw.

> 
> It sounds to me that what you're adding here is a *per-path* initialisation,
> something *separate* from (and additional to) the existing *per-group* pg_init.

No, I "replaced" the "per-group" pg_init with "per-path" init.

> 
> Has this patch been tested on EMC?

No, we have tested it with LSI RDAC. I will send a separate email to EMC
folks (on Cc here) describing the problem and the fix and ask their help
in testing.

> 
> Alasdair


  reply	other threads:[~2008-11-14 19:09 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06  4:05 [PATCH] Make sure the state of a path is set properly when controller is swapped from passive to active Chandra Seetharaman
2008-11-10 23:17 ` [PATCH] scsi_dh: Adding LSI vendor and product ids in rdac device list Moger, Babu
2008-11-24  0:04   ` James Bottomley
2008-11-24 15:06     ` Moger, Babu
2008-11-11  0:45 ` DM does not activate the paths if there are more than one path in path group during failover Moger, Babu
2008-11-11  0:59   ` Alasdair G Kergon
2008-11-11 17:13     ` Moger, Babu
2008-11-11 21:00       ` Chandra Seetharaman
2008-11-13 23:48       ` [RFC][PATCH] Handle multipath paths in a path group properly during pg_init (was "RE: [dm-devel] DM does not activate the paths if there are more than one path in path group during failover") Chandra Seetharaman
2008-11-14  0:12         ` [RFC][PATCH] Handle multipath paths in a path group properly during pg_init (was "RE: " Alasdair G Kergon
2008-11-14 19:08           ` Chandra Seetharaman [this message]
2008-11-14 19:34             ` Alasdair G Kergon
2008-11-14 20:24               ` [RFC][PATCH] Handle multipath paths in a path group properly during pg_init (was "RE: [dm-devel] " Chandra Seetharaman
2008-11-11  2:06   ` DM does not activate the paths if there are more than one path in path group during failover Chandra Seetharaman
2008-11-11 17:07     ` Moger, Babu
2008-11-11 17:10       ` Chandra Seetharaman
2008-11-11 17:28         ` Moger, Babu
2009-01-22  0:00 ` qla2xxx 0000:03:0c.0: Firmware image unavailable Moger, Babu
2009-01-22  0:26   ` Seokmann Ju
2009-01-22 14:14     ` Moger, Babu
2009-01-22 14:39       ` Sudhakar Pannerselvam
2009-01-22 15:20         ` Moger, Babu
2009-01-22 16:46           ` Dave Holland
2009-01-23  0:15             ` [dm-devel] " Moger, Babu
2009-01-23  6:22               ` Sudhakar Pannerselvam
2009-01-23 15:04                 ` James Bottomley
2009-01-25  4:22                   ` Mike Snitzer
2009-01-22 14:56       ` James Bottomley

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=1226689728.8998.76.camel@chandra-ubuntu \
    --to=sekharan@us.ibm.com \
    --cc=Levy_Jerome@emc.com \
    --cc=agk@redhat.com \
    --cc=andmike@us.ibm.com \
    --cc=asson_ronald@emc.com \
    --cc=dm-devel@redhat.com \
    --cc=hare@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mchristi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox