From: Pete Zaitcev <zaitcev@redhat.com>
To: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
Cc: stern@rowland.harvard.edu, linux-usb-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org,
usb-storage@lists.one-eyed-alien.net, zaitcev@redhat.com
Subject: Re: Patch for usb-storage in 2.4 [linux-usb-devel]
Date: Sat, 10 Apr 2004 18:36:38 -0700 [thread overview]
Message-ID: <20040410183638.5b177147.zaitcev@redhat.com> (raw)
In-Reply-To: <20040411000957.GA7523@one-eyed-alien.net>
On Sat, 10 Apr 2004 17:09:57 -0700
Matthew Dharm <mdharm-kernel@one-eyed-alien.net> wrote:
> I'm uncertain if your handling of the io_request_lock is right.... but
> getting information on how to handle that has been like pulling teeth, so
> I'm inclined to trust your wide-scale testing on this.
It's not wide-scale, unfortunately, that's why I need more review and
testing of it. Those "Enterprise" people are mostly interested in very
specific things, in particular Bladecenter and JS-20, Dell's OEMed CD-ROMs,
and Lexar memory key which Dell resells. Very likely not all transports
or protocols are tested, for instance UFI. But I think it's right to
call it "intensive" testing.
The main test is to put a CD and keyboard on a hub, and hub on a KVM, then
flip KVM several times quickly from one blade to another. All hell breaks
loose. IIRC, I had four different OOPS and lockup scenarios.
> Was there a reason to add more do-nothing code to host_reset?
Woopsie. I wanted to write it, but understood that if I return right
code from "bus" reset, it should never be called. Sorry about that...
I'll remove that part.
> Is it really safe to remove the irq_urb_sem?
The idea here is to have disconnect and resets locked against each other.
They happen on different threads, unfortunately (khubd and scsi_eh).
Initially I tried various orders, but then I thought, "Why am I making
it hard on myself?! Much better just to merge them". The dev_semaphore now
covers everything irq_urb_sem used to cover, except one path into
usb_stor_allocate_irq from initial probing.
Thanks for looking at it!
-- Pete
next prev parent reply other threads:[~2004-04-11 1:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-10 2:59 Patch for usb-storage in 2.4 Pete Zaitcev
2004-04-11 0:09 ` [linux-usb-devel] " Matthew Dharm
2004-04-11 1:36 ` Pete Zaitcev [this message]
2004-04-11 6:34 ` Patch for usb-storage in 2.4 [linux-usb-devel] Matthew Dharm
2004-04-11 15:47 ` Alan Stern
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=20040410183638.5b177147.zaitcev@redhat.com \
--to=zaitcev@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=mdharm-kernel@one-eyed-alien.net \
--cc=stern@rowland.harvard.edu \
--cc=usb-storage@lists.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
all inboxes | Powered by JetHome®