From: Mike Christie <mikenc@us.ibm.com>
To: "Nicholas A. Bellinger" <nick@pyxtechnologies.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
James Bottomley <James.Bottomley@SteelEye.com>
Subject: Re: scsi_transport_iscsi.c + transport_container_unregister() oops
Date: Wed, 27 Apr 2005 12:03:54 -0700 [thread overview]
Message-ID: <426FE21A.2010804@us.ibm.com> (raw)
In-Reply-To: <1114627774.20844.20.camel@haakon>
Nicholas A. Bellinger wrote:
> On Wed, 2005-04-27 at 11:50 -0700, Mike Christie wrote:
>
>>Nicholas A. Bellinger wrote:
>>
>>>While adding support for the iSCSI Transport class
>>>(scsi_transport_iscsi.c) to the iscsi-initiator-core stack, I ran into a
>>>problem with iscsi_release_transport() and
>>>transport_container_unregister().
>>>
>>>When iscsi_register_transport() and iscsi_release_transport() are called
>>>WITHOUT calling scsi_add_host() and scsi_remove_host() there are no
>>>problems.
>>>
>>>When iscsi_register_transport() and iscsi_release_transport() are called
>>>WITH calling scsi_add_host() and scsi_remove_host() the following OOPs
>>>appears in attribute_container_unregister during the list_empty() loop.
>>>
>>>I also noticed that that transport_container_[register,unregister]()
>>>calls in iscsi_[register,release]_transport() where added around
>>>2.6.12-rc1, but are not included in the scsi_transport_iscsi.c within
>>>the 4.0.1.11.
>>
>>The scsi_transport_iscsi.c in 4.0.1.11 is old. That version of the driver
>>was for before James's transport container code so you cannot use the
>>scsi_transport_iscsi.c in there with the current driver model transport
>>code.
>>
>>Also you do not need to worry about sfnet compatibilty. If your changes
>>are good/merged we will adapt to them. So do not worry about breaking
>>us in the mean time.
>>
>
>
> Just to double check as I have not had a chance to test this myself,
> does iscsi_release_transport() work correctly once a scsi host has been
> registered with sfnet and 2.6.12-rc3's scsi_transport_iscsi.c?
>
Yes. Just double checked.
> I am trying to make sure it is not something obvious I am missing on my
> side.
>
> Thanks,
>
prev parent reply other threads:[~2005-04-27 19:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-27 18:34 scsi_transport_iscsi.c + transport_container_unregister() oops Nicholas A. Bellinger
2005-04-27 18:50 ` Mike Christie
2005-04-27 18:49 ` Nicholas A. Bellinger
2005-04-27 19:03 ` Mike Christie [this message]
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=426FE21A.2010804@us.ibm.com \
--to=mikenc@us.ibm.com \
--cc=James.Bottomley@SteelEye.com \
--cc=linux-scsi@vger.kernel.org \
--cc=nick@pyxtechnologies.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