linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [BK PATCHES] add ata scsi driver
@ 2003-05-26 18:12 James Bottomley
  2003-05-26 18:18 ` Jens Axboe
  0 siblings, 1 reply; 68+ messages in thread
From: James Bottomley @ 2003-05-26 18:12 UTC (permalink / raw)
  To: torvalds, Jens Axboe; +Cc: Linux Kernel


    On Mon, May 26 2003, Linus Torvalds wrote:
    > > What does the block layer need, that it doesn't have now?
    > 
    > Exactly. I'd _love_ for people to really think about this.
    
    In discussion with Jeff, it seems most of what he wants is already
    there. He just doesn't know it yet :-)
    
    Maybe that's my problem as well, maybe the code / comments / doc /
    whatever is not clear enough.
    
My wishlist for this would be:

1. Unified SG segment allocation.  The SCSI layer currently has a
mempool implementation to cope with this, is there a reason it can't
become block generic?

2. Device locality awareness.  Quite a bit of the esoteric SCSI queueing
code occurs because we have two type of queue events:
a. device can't accept another command---stop queue and restart when the
device sends a completion back
b. the host adapter is out of resources for *all* its devices.  Block
all device queues until we free some resources (again, usually a
returning command).

3. Perhaps some type of unified command handling.  At the moment, we all
seem to allocate DMA'able regions for our commands/taskfiles/whatever
and attach them to reqest->special.  Then we need to release them again
before completing the request.

4. Same thing goes for sense buffers.

5. There needs to be some amalgam of the SCSI code for dynamic tag
command queue depth handling.

OK, I'll stop now.

James



^ permalink raw reply	[flat|nested] 68+ messages in thread
* [BK PATCHES] add ata scsi driver
@ 2003-05-26  4:58 Jeff Garzik
  2003-05-26  5:15 ` Linus Torvalds
                   ` (2 more replies)
  0 siblings, 3 replies; 68+ messages in thread
From: Jeff Garzik @ 2003-05-26  4:58 UTC (permalink / raw)
  To: torvalds, linux-kernel

Just to echo some comments I said in private, this driver is _not_
a replacement for drivers/ide.  This is not, and has never been,
the intention.  In fact, I need drivers/ide's continued existence,
so that I may have fewer boundaries on future development.

Even though ATAPI support doesn't exist and error handling is
primitive, this driver has been extensively tested locally and I feel
is ready for a full and public kernel developer assault :)

James ok'd sending this...  I'll be sending "un-hack scsi headers" patch
through him via his scsi-misc-2.5 tree.




Linus, please do a

	bk pull bk://kernel.bkbits.net/jgarzik/scsi-2.5

Others may download the patch from

ftp://ftp.kernel.org/pub/linux/kernel/people/jgarzik/patchkits/2.5/2.5.69-bk18-scsi1.patch.bz2

This will update the following files:

 drivers/scsi/Kconfig    |   27 
 drivers/scsi/Makefile   |    1 
 drivers/scsi/ata_piix.c |  322 ++++++
 drivers/scsi/libata.c   | 2247 ++++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/ata.h     |  485 ++++++++++
 5 files changed, 3082 insertions(+)

through these ChangeSets:

<jgarzik@redhat.com> (03/05/26 1.1357)
   [scsi ata] make PATA config option actually do something useful

<jgarzik@redhat.com> (03/05/26 1.1356)
   [scsi ata] include hacks, b/c scsi headers not in include/linux

<jgarzik@redhat.com> (03/05/26 1.1355)
   [scsi] add ATA driver


^ permalink raw reply	[flat|nested] 68+ messages in thread

end of thread, other threads:[~2003-06-02 14:41 UTC | newest]

Thread overview: 68+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-26 18:12 [BK PATCHES] add ata scsi driver James Bottomley
2003-05-26 18:18 ` Jens Axboe
2003-05-26 18:47   ` James Bottomley
2003-05-26 19:07     ` Jens Axboe
2003-05-26 19:17       ` James Bottomley
2003-05-26 19:33         ` Jens Axboe
2003-05-27 12:39           ` Jens Axboe
2003-05-27 14:26             ` James Bottomley
2003-05-27 17:16               ` Jens Axboe
2003-05-27 18:09                 ` James Bottomley
2003-05-27 18:21                   ` Jens Axboe
2003-05-27 18:30                     ` James Bottomley
2003-05-26 20:27         ` Linus Torvalds
2003-05-26 20:36           ` James Bottomley
2003-05-26 20:45             ` Linus Torvalds
2003-05-26 20:51               ` Jens Axboe
2003-05-26 20:56               ` James Bottomley
2003-05-26 20:38           ` Jens Axboe
2003-05-26 20:49             ` Linus Torvalds
2003-05-26 20:57               ` Jens Axboe
2003-05-26 21:34                 ` Linus Torvalds
2003-05-26 23:58                   ` Nick Piggin
2003-05-27  0:09                     ` Linus Torvalds
2003-05-27  0:49                       ` Nick Piggin
2003-05-27  0:16                   ` Alan Cox
2003-05-27  6:54                   ` Jens Axboe
2003-05-27 14:20                     ` James Bottomley
2003-05-27 14:36                     ` Linus Torvalds
2003-05-27 14:59                       ` James Bottomley
2003-05-27 15:21                         ` Jeff Garzik
2003-05-27 15:38                           ` James Bottomley
2003-05-27 15:50                             ` Jeff Garzik
2003-05-27 16:00                               ` James Bottomley
2003-05-27 16:16                                 ` Jeff Garzik
2003-05-28  9:35                                   ` Christoph Hellwig
2003-05-28 10:50                           ` Lincoln Dale
2003-05-27 19:43                       ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2003-05-26  4:58 Jeff Garzik
2003-05-26  5:15 ` Linus Torvalds
2003-05-26  5:30   ` Jeff Garzik
2003-05-26  5:36     ` Jeff Garzik
2003-05-26  5:42       ` Linus Torvalds
2003-05-26  6:01         ` Jeff Garzik
2003-05-26 16:56           ` Linus Torvalds
2003-05-26 17:47             ` Jeff Garzik
2003-05-26 20:09               ` Linus Torvalds
2003-05-27  0:29                 ` Alan Cox
2003-05-27  6:07                 ` Jeff Garzik
2003-05-27  6:30                   ` Linus Torvalds
2003-05-27  6:51                     ` Linus Torvalds
2003-05-27  7:29                       ` Jeff Garzik
2003-05-26  5:40     ` Linus Torvalds
2003-05-26  5:53       ` Jeff Garzik
2003-05-26  6:21         ` Jeff Garzik
2003-05-26 16:57           ` Linus Torvalds
2003-05-26 17:24             ` Jens Axboe
2003-05-26 17:54               ` Jeff Garzik
2003-05-26 17:59               ` Jeff Garzik
2003-05-26 18:11                 ` Jens Axboe
2003-05-27  0:22       ` Alan Cox
2003-05-27  4:15         ` Linus Torvalds
2003-05-26 10:32     ` Bartlomiej Zolnierkiewicz
2003-05-26 11:13       ` Jeff Garzik
2003-05-26 11:37         ` Bartlomiej Zolnierkiewicz
2003-05-26  5:59 ` Benjamin Herrenschmidt
2003-05-26  6:03   ` Jeff Garzik
2003-06-02  9:46 ` Andre Hedrick
2003-06-02 13:56   ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).