From: Doug Ledford <dledford@redhat.com>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: Jens Axboe <axboe@suse.de>,
hch@lst.de, James Bottomley <James.Bottomley@steeleye.com>,
linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [2.4] scsi per-host lock was Re: smp dead lock of io_request_lock/queue_lock patch
Date: Mon, 19 Jan 2004 22:21:02 -0500 [thread overview]
Message-ID: <1074568862.13198.73.camel@compaq.xsintricity.com> (raw)
In-Reply-To: <Pine.LNX.4.58L.0401192316060.10707@logos.cnet>
On Mon, 2004-01-19 at 21:19, Marcelo Tosatti wrote:
> Doug,
>
> Where can I find a copy of uptodate iorl and mlqueue patchsets ?
Red Hat's 2.4.21-9.EL kernel? ;-)
Seriously, I've already set up 3 new bk trees on linux-scsi.bkbits.net.
They are 2.4-for-marcelo, 2.4-drivers, and 2.4-everything. Right now
the trees are still just clones of your current tree. The plan,
however, is to sort through all of the scsi patches we put into our
kernels and put them into the various trees. Obviously, the everything
tree will have both the iorl and mlqueue patches plus the other stuff.
The for-marcelo tree is stuff that is agreed to be appropriate for
mainline. The drivers tree is where I'll start sticking driver updates
that come across linux-scsi for the 2.4 kernel.
> I cant enjoy the feeling of splitting a global lock at this point in 2.4's
> lifetime, but it has been in RedHat's and SuSE's trees for long.
>
> A reason to have it its the dependacy of mlqueue patch. You said most
> drivers are handling the BUSY/QUEUE_FULL hangs by themselves, you mention
> "IBM zfcp" / Emulex which dont. What other drivers suffer from the same
> problem ?
Well, that's a hard to answer question. First, the problem only shows
up on drivers that actually enabled tagged queuing and use a reasonably
deep queue depth (normally). So, that automatically strikes out most of
the older ISA and crap hardware drivers since they only do a command at
a time. The better drivers; aic7xxx (new and old), ncr53c8xx, sym1 and
sym2, qla2x00, etc.; work around the problem. It's mainly newer drivers
that vendors are starting to write and who don't know the history of the
broken mid layer handling of QUEUE_FULL and BUSY situations. So, I
cited the two I know of off the top of my head, and there may be others
but I would actually have to look at the source code to identify them
(when 98% of the scsi market is QLogic and NCR/SYM and aic7xxx, those
other drivers fall through the cracks). Of course, one of the other
issues is that each driver that tries to handle this situation itself
does it in a different manner, and the correctness of those varying
implementations is also an issue to consider.
--
Doug Ledford <dledford@redhat.com> 919-754-3700 x44233
Red Hat, Inc.
1801 Varsity Dr.
Raleigh, NC 27606
next prev parent reply other threads:[~2004-01-20 3:25 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-12 15:07 Martin Peschke3
2004-01-12 15:12 ` Arjan van de Ven
2004-01-12 19:48 ` Christoph Hellwig
2004-01-12 19:51 ` Doug Ledford
2004-01-12 20:03 ` Christoph Hellwig
2004-01-12 21:12 ` Jens Axboe
2004-01-13 20:55 ` Marcelo Tosatti
2004-01-17 13:10 ` Doug Ledford
2004-01-17 16:58 ` Christoph Hellwig
2004-01-17 19:07 ` Doug Ledford
2004-01-17 19:17 ` Christoph Hellwig
2004-01-17 19:21 ` Doug Ledford
2004-01-17 19:29 ` Christoph Hellwig
2004-01-17 20:36 ` Doug Ledford
2004-01-20 7:53 ` Jens Axboe
2004-01-20 2:19 ` [2.4] scsi per-host lock was " Marcelo Tosatti
2004-01-20 3:21 ` Doug Ledford [this message]
2004-01-25 0:31 ` Kurt Garloff
2004-01-15 17:17 ` Bill Davidsen
2004-01-17 13:12 ` Doug Ledford
2004-01-17 15:16 ` Bill Davidsen
2004-01-17 16:07 ` Doug Ledford
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=1074568862.13198.73.camel@compaq.xsintricity.com \
--to=dledford@redhat.com \
--cc=James.Bottomley@steeleye.com \
--cc=akpm@osdl.org \
--cc=axboe@suse.de \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.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
all inboxes | Powered by JetHome®