From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Erik Andersen <andersen@codepoet.org>
Cc: linux-scsi@vger.kernel.org,
USB Storage List <usb-storage@one-eyed-alien.net>
Subject: Re: [PATCH] SCSI hotplug support
Date: Mon, 14 Oct 2002 00:06:02 -0700 [thread overview]
Message-ID: <20021014000602.F30278@one-eyed-alien.net> (raw)
In-Reply-To: <20021014054035.GA10686@codepoet.org>; from andersen@codepoet.org on Sun, Oct 13, 2002 at 11:40:35PM -0600
[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]
Well... dang. I've been hoping this would appear for quite some time. I'm
just not good enough with the SCSI layer to really make this stable.
How stable is this? I'd love to see this in 2.5 before the Oct 31 feature
freeze, so USB Mass Storage can use this. Stability is my major concern --
someone has to agree to work on this to make it stable to use, and work out
any possible corner-cases and race conditions.
But, heck.. this is 2.5 -- I say let's include it, use it, and then shake
the bugs out.
Matt
On Sun, Oct 13, 2002 at 11:40:35PM -0600, Erik Andersen wrote:
> Using the following patch I am able to make ieee1394 properly
> connect and disconnect SBP-2 devices to/from the SCSI subsystem.
> Without this patch, firewire devices are only registered with the
> SCSI subsystem if they are connected when the host adaptor is
> registered, and are only unregistered from the SCSI subsystem
> when the firewire driver modules are removed from the kernel.
> This is far from desirable...
>
> This patch works by exporting within the kernel the functionality
> already provided to userspace via /proc/scsi/scsi, i.e.:
> echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
> and
> echo "scsi remove-single-device 0 1 2 3" >/proc/scsi/scsi
> is exported within the kernel as scsi_add_single_device() and
> scsi_remove_single_device(). A separate patch to the sbp2 driver
> then uses these interfaces when devices are plugged or unplugged.
> After looking though the current code, there does not seem to be
> any other way to accomplish the same thing using the current SCSI
> infrastructure. Anyone have any objections to such a patch? For
> 2.4.x? Comments?
>
> Please CC me as I am not subscribed to linux-scsi, thanks,
>
> -Erik
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
C: Why are you upgrading to NT?
AJ: It must be the sick, sadistic streak that runs through me.
-- Chief and A.J.
User Friendly, 5/12/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2002-10-14 7:06 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-14 5:40 [PATCH] SCSI hotplug support Erik Andersen
2002-10-14 7:06 ` Matthew Dharm [this message]
2002-10-14 7:12 ` Erik Andersen
2002-10-14 15:47 ` Kurt Garloff
2002-10-14 16:19 ` Mike Anderson
2002-10-14 20:41 ` Erik Andersen
2002-10-14 22:10 ` Mike Anderson
2002-10-14 20:46 ` Erik Andersen
2002-10-14 15:57 ` James Bottomley
2002-10-14 17:22 ` Mike Anderson
2002-10-14 17:30 ` Matthew Dharm
2002-10-14 17:39 ` James Bottomley
2002-10-14 19:11 ` Oliver Xymoron
2002-10-15 0:42 ` Kurt Garloff
2002-10-14 20:37 ` Erik Andersen
2002-10-14 21:07 ` James Bottomley
2002-10-14 21:54 ` Erik Andersen
2002-10-14 22:25 ` Doug Ledford
2002-10-15 5:25 ` Erik Andersen
2002-10-15 15:33 ` Doug Ledford
2002-10-15 18:18 ` Erik Andersen
2002-10-15 18:22 ` Doug Ledford
2002-10-15 18:45 ` Erik Andersen
2002-10-15 19:13 ` Doug Ledford
2002-10-15 19:32 ` Erik Andersen
2002-10-15 19:45 ` James Bottomley
2002-10-15 19:50 ` Scott Merritt
2002-10-15 19:55 ` Doug Ledford
2002-10-15 22:07 ` Erik Andersen
2002-10-16 2:40 ` Doug Ledford
2002-10-18 11:28 ` Erik Andersen
2002-10-15 21:43 ` Oliver Neukum
2002-10-15 22:07 ` Erik Andersen
2002-10-14 22:19 ` Oliver Neukum
2002-10-15 0:22 ` Doug Ledford
2002-10-15 7:53 ` Oliver Neukum
2002-10-15 14:35 ` Doug Ledford
2002-10-15 15:19 ` Oliver Neukum
2002-10-15 15:40 ` James Bottomley
2002-10-15 17:47 ` Erik Andersen
2002-10-15 18:34 ` Doug Ledford
2002-10-15 18:22 ` Scott Merritt
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=20021014000602.F30278@one-eyed-alien.net \
--to=mdharm-scsi@one-eyed-alien.net \
--cc=andersen@codepoet.org \
--cc=linux-scsi@vger.kernel.org \
--cc=usb-storage@one-eyed-alien.net \
/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