From: Mike Christie <mikenc@us.ibm.com>
To: naveenb@cisco.com
Cc: Linux-SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] iscsi driver update 4.0.1.8
Date: Thu, 15 Jul 2004 10:24:23 -0700 [thread overview]
Message-ID: <40F6BDC7.2090405@us.ibm.com> (raw)
In-Reply-To: <200407151602.45830.naveenb@cisco.com>
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?
The other question is are you advocating that the report luns data
changed event no longer be handled from userspace? If
scsi_scan_host_selected() is exported are you going to detect the event
in the driver, kick off to userpace, then have some event agent go back
down to the driver to use scsi_scan_host_selected()? Or are you wanting
scsi_scan_host_selected() for your lun masking. I sent patches to kill
the latter and it will hopefully not exists in this lld in the near future.
next prev parent reply other threads:[~2004-07-15 17:26 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 [this message]
2004-07-15 17:40 ` Mike Christie
2004-07-15 17:40 ` Mike Christie
2004-07-16 17:01 ` Mike Christie
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=40F6BDC7.2090405@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