From: Mike Christie <mikenc@us.ibm.com>
To: Mike Christie <mikenc@us.ibm.com>
Cc: naveenb@cisco.com, Linux-SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] iscsi driver update 4.0.1.8
Date: Fri, 16 Jul 2004 10:01:41 -0700 [thread overview]
Message-ID: <40F809F5.10501@us.ibm.com> (raw)
In-Reply-To: <40F6BDC7.2090405@us.ibm.com>
Mike Christie wrote:
> Naveen Burmi wrote:
>
>> This version of the iSCSI driver (4.0.1.8) contains the following changes
>> since 4.0.1.7:
>>
>> 1. The issue of deadlock due to multiple kmaps has been partially
>> resolved.
>> We now use sendpage along the xmit path.
>> 2. The driver used to overwrite scsi midlayer naming. This has been
>> removed.
>> Now proc_name field is used for iSCSI device lookup in sysfs.
>> 3. The driver's queuecommand now returns SCSI_MLQUEUE_DEVICE_BUSY and
>> SCSI_MLQUEUE_HOST_BUSY on failure.
>> 4. We have removed bus reset handler from the code.
>>
>> The following items are being worked on/debated:
>>
>> a) Per target probe via hotplug.
>> In earlier reviews, it was debated that the hotplug mechanism should
>> be used
>> for target activation. Though scsi_scan_host() is exported,
>> scsi_scan_host_selected() isn't. So, an adapter scan is exported to LLDD
>> whereas anything else (target or lun scan) has to go through hotplug.
>> Network oriented storage like iSCSI has to deal with delays in targets
>> getting discovered through SendTargets discovery and poll for SLP
>> discoveries.
>> It would help a lot to use scsi_scan_host_selected() in such cases and
>> needs
>> to be exported for such LLDDs.
>
>
> What is wrong with doing everything from userspace? If we do discovery
> in userspace and send down that info from usrspace, why not kick off the
> scanning from userspace once the establish session ioctl has completed?
> The driver today does not handle userspace initiated scans correctly, so
> this needs to be addressed regardless?
>
I sent a patch to linux-iscsi yesterday that implements James's
suggestion to do a scsi-host-per-transport-endpoint. As we discussed,
with this change we do not have any special needs (like to scan specific
targets), so we can just use scsi_scan_host() like regular drivers do.
Also per our discussion, handling the report luns data changed
asynchronous event is not critical to the driver at this point, so it
may be best to work on critical cleanups and worry about events when
SCSI-ml has a well designed event mechanism or when we have finished the
basic driver items. This should also reduce the work any reviewer would
have to do for the driver when we feel we are ready for a review.
prev parent reply other threads:[~2004-07-16 17:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-15 10:32 [PATCH] iscsi driver update 4.0.1.8 Naveen Burmi
2004-07-15 11:27 ` Matthew Wilcox
2004-07-15 11:38 ` Surekha.PC
2004-07-15 13:17 ` Matthew Wilcox
2004-07-15 17:24 ` Mike Christie
2004-07-15 17:40 ` Mike Christie
2004-07-15 17:40 ` Mike Christie
2004-07-16 17:01 ` 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=40F809F5.10501@us.ibm.com \
--to=mikenc@us.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=naveenb@cisco.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