From: Douglas Gilbert <dougg@torque.net>
To: Mike Anderson <andmike@us.ibm.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] scsi_debug 1.64 , remove detect(), "hotplug" hosts
Date: Mon, 11 Nov 2002 12:44:56 +1100 [thread overview]
Message-ID: <3DCF0B98.9070104@torque.net> (raw)
In-Reply-To: 20021110012748.GA1301@beaverton.ibm.com
[-- Attachment #1: Type: text/plain, Size: 1388 bytes --]
Mike Anderson wrote:
> Douglas Gilbert [dougg@torque.net] wrote:
>
<snip/>
>
>> - rmmod and subsequent modprobe's on scsi_debug
>> sometimes blow up.
>> Hopefully Patrick's fix (not in bk3?) addresses that.
>
>
> I would use the changes that Patrick sent out as we had problems
> with insmod / rmmod without these. I previously sent these to Mochel,
> but he was in the process of moving and they probably will not show up
> in a bk ( or fixes like these) until he can respond.
>
> It seemed when I was re-working my patches that num_hosts_present is
> used during scsi_debug_exit to cleanup, but is not incremented during
> sdebug_add_host_write. There seems to a mixed use of scsi_debug_add_host
> and num_hosts_present.
Mike,
I have cleaned up that problem and a new version of
scsi_debug 1.64 is attached (applies against
2.5.46-bk3 (or the last version of 1.63 that I sent
a week ago)).
The second attachment is the changes to scsi_debug.c
since the start of this thread.
This version has been tested against a kernel with Patrick's
two patches for modprobe/rmmod stability that were sent to
this list last week. [One modifies sysfs source and the
other changes scsi_scan.c] In this environment I tried about
20 or more sequences of modprobe/rmmod on scsi_debug without
problems. Also using scsi_debug_add_host to add and remove
hosts caused no problems.
Doug Gilbert
[-- Attachment #2: scsi_debug_164_46bk3.diff.gz --]
[-- Type: application/x-gzip, Size: 4120 bytes --]
[-- Attachment #3: scsi_debug_164_inc.diff.gz --]
[-- Type: application/x-gzip, Size: 1463 bytes --]
prev parent reply other threads:[~2002-11-11 1:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-09 10:26 [PATCH] scsi_debug 1.64 , remove detect(), "hotplug" hosts Douglas Gilbert
2002-11-10 1:27 ` Mike Anderson
2002-11-11 1:44 ` Douglas Gilbert [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=3DCF0B98.9070104@torque.net \
--to=dougg@torque.net \
--cc=andmike@us.ibm.com \
--cc=linux-scsi@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.