From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: sekharan@us.ibm.com
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
dm-devel <dm-devel@redhat.com>,
"Moger, Babu" <Babu.Moger@netapp.com>,
yanling.Qi@netapp.com, "Stankey,
Robert" <Robert.Stankey@netapp.com>
Subject: Re: [PATCH] Associate HBA and storage in rdac_controller to support partitions in storage
Date: Wed, 27 Jul 2011 14:34:57 +0400 [thread overview]
Message-ID: <1311762897.5029.0.camel@mulgrave> (raw)
In-Reply-To: <1311196948.5505.10779.camel@chandra-lucid.beaverton.ibm.com>
On Wed, 2011-07-20 at 14:22 -0700, Chandra Seetharaman wrote:
> rdac hardware handler assumes that there is one-to-one relation ship
> between the host and the controller w.r.t lun. IOW, it does not
> support "multiple storage partitions" within a storage.
>
> Example:
> HBA1 and HBA2 see lun 0 and 1 in storage A (1)
> HBA3 and HBA4 see lun 0 and 1 in storage A (2)
> HBA5 and HBA6 see lun 0 and 1 in storage A (3)
>
> luns 0 and 1 in (1), (2) and (3) are totally different.
>
> But, rdac handler treats the lun 0s (and lun 1s) as the same when
> sending a mode select to the controller, which is wrong.
>
> This patch makes the rdac hardware handler associate HBA and the
> storage w.r.t lun (and not the host itself).
>
> Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
> ---
> drivers/scsi/device_handler/scsi_dh_rdac.c | 10 +++++++---
> 1 files changed, 7 insertions(+), 3 deletions(-)
This doesn't apply;
patching file drivers/scsi/device_handler/scsi_dh_rdac.c
Hunk #1 succeeded at 158 (offset 9 lines).
Hunk #2 FAILED at 381.
Hunk #3 FAILED at 389.
Hunk #4 FAILED at 403.
Hunk #5 FAILED at 526.
4 out of 5 hunks FAILED -- saving rejects to file
drivers/scsi/device_handler/scsi_dh_rdac.c.rej
it looks like there's a missing intermediate patch somewhere, can you
check scsi-misc and tell me what it is?
Thanks,
James
next prev parent reply other threads:[~2011-07-27 11:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 21:22 [PATCH] Associate HBA and storage in rdac_controller to support partitions in storage Chandra Seetharaman
2011-07-27 10:34 ` James Bottomley [this message]
2011-07-27 18:20 ` Chandra Seetharaman
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=1311762897.5029.0.camel@mulgrave \
--to=james.bottomley@hansenpartnership.com \
--cc=Babu.Moger@netapp.com \
--cc=Robert.Stankey@netapp.com \
--cc=dm-devel@redhat.com \
--cc=linux-scsi@vger.kernel.org \
--cc=sekharan@us.ibm.com \
--cc=yanling.Qi@netapp.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